/* Fill a no_client_port connection with a client port number  */
void ip_vs_conn_fill_cport(struct ip_vs_conn *cp, __be16 cport)
/* Fill a no_client_port connection with a client port number  */
void ip_vs_conn_fill_cport(struct ip_vs_conn *cp, __be16 cport)
{
	if (ip_vs_conn_unhash(cp)) {
		spin_lock(&cp->lock);
		if (cp->flags & IP_VS_CONN_F_NO_CPORT) {
			atomic_dec(&ip_vs_conn_no_cport_cnt);
			cp->flags &= ~IP_VS_CONN_F_NO_CPORT;
			cp->cport = cport;
		}
		spin_unlock(&cp->lock);
		ip_vs_conn_hash(cp);
	}
}