if (!cp->cport && !(cp->flags & IP_VS_CONN_F_NO_CPORT)) 
if (cp->flags & IP_VS_CONN_F_TEMPLATE) 
void ip_vs_random_dropentry(void){	int idx;	struct ip_vs_conn *cp;	/*	 * Randomly scan 1/32 of the whole table every second	 */	for (idx = 0; idx < (IP_VS_CONN_TAB_SIZE>>5); idx++) {		unsigned hash = net_random() & IP_VS_CONN_TAB_MASK;		/*		 *  Lock is actually needed in this loop.		 */		ct_write_lock_bh(hash);		list_for_each_entry(cp, &ip_vs_conn_tab[hash], c_list) {			if (!cp->cport && !(cp->flags & IP_VS_CONN_F_NO_CPORT))				/* connection template */				continue;			if (cp->protocol == IPPROTO_TCP) {				switch(cp->state) {				case IP_VS_TCP_S_SYN_RECV:				case IP_VS_TCP_S_SYNACK:					break;				case IP_VS_TCP_S_ESTABLISHED:					if (todrop_entry(cp))						break;					continue;				default:					continue;				}			} else {				if (!todrop_entry(cp))					continue;			}			IP_VS_DBG(4, "del connection\n");			ip_vs_conn_expire_now(cp);			if (cp->control) {				IP_VS_DBG(4, "del conn template\n");				ip_vs_conn_expire_now(cp->control);			}		}		ct_write_unlock_bh(hash);	}}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/87375ab47cd0ba04124c6d3fd80db5c368f5dcb6/ip_vs_conn.c/buggy/net/ipv4/ipvs/ip_vs_conn.c