/* Description: Remove all entries from the network interface table.  */
static void sel_netif_flush(void)
/* Description: Remove all entries from the network interface table.  */
static void sel_netif_flush(void)
{
	int idx;
	struct sel_netif *netif;
	spin_lock_bh(&sel_netif_lock);
	for (idx = 0; idx < SEL_NETIF_HASH_SIZE; idx++)
		list_for_each_entry(netif, &sel_netif_hash[idx], list)
			sel_netif_destroy(netif);
	spin_unlock_bh(&sel_netif_lock);
}