/* Description: Search the network interface table and return the record matching @ifindex. If an entry can not be found in the table return NULL.  */
static struct sel_netif* sel_netif_find(int ifindex)
/* Description: Search the network interface table and return the record matching @ifindex. If an entry can not be found in the table return NULL.  */
static struct sel_netif* sel_netif_find(int ifindex)
{
	int idx = sel_netif_hashfn(ifindex);
	struct sel_netif *netif;
	list_for_each_entry_rcu(netif, &sel_netif_hash[idx], list)
		if (likely(netif->nsec.ifindex == ifindex))
			return netif;
	return NULL;
}