/* Description: Searches the unlabeled connection hash table and returns a pointer to the interface entry which matches @ifindex, otherwise NULL is returned. The caller is responsible for calling the rcu_read_lock() functions.  */
static struct netlbl_unlhsh_iface* netlbl_unlhsh_search_iface(int ifindex)
/* Description: Searches the unlabeled connection hash table and returns a pointer to the interface entry which matches @ifindex, otherwise NULL is returned. The caller is responsible for calling the rcu_read_lock() functions.  */
static struct netlbl_unlhsh_iface* netlbl_unlhsh_search_iface(int ifindex)
{
	u32 bkt;
	struct list_head *bkt_list;
	struct netlbl_unlhsh_iface *iter;
	bkt = netlbl_unlhsh_hash(ifindex);
	bkt_list = &rcu_dereference(netlbl_unlhsh)->tbl[bkt];
	list_for_each_entry_rcu(iter, bkt_list, list)
		if (iter->valid && iter->ifindex == ifindex)
			return iter;
	return NULL;
}