函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\selinux\netif.c Create Date:2022-07-27 20:39:48
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:sel_netif_destroy - Remove an interface record from the table*@netif: the existing interface record* Description:* Remove an existing interface record from the network interface table.

函数原型:static void sel_netif_destroy(struct sel_netif *netif)

返回类型:void

参数:

类型参数名称
struct sel_netif *netif
115  删除不需要重新初始化的列表项
116  sel_netif_total自减
117  kfree_rcu() - kfree an object after a grace period(netif, rcu_head)
调用者
名称描述
sel_netif_killsel_netif_kill - Remove an entry from the network interface table*@ns: the network namespace*@ifindex: the network interface* Description:* This function removes the entry matching @ifindex from the network interface* table if it exists.
sel_netif_flushsel_netif_flush - Flush the entire network interface table* Description:* Remove all entries from the network interface table.