函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:sel_netport_flush - Flush the entire network port table* Description:* Remove all entries from the network address table.

函数原型:void sel_netport_flush(void)

返回类型:void

参数:

212  spin_lock_bh( & sel_netport_lock)
213 idx小于SEL_NETPORT_HASH_SIZE循环
216  删除不需要重新初始化的列表项
217  kfree_rcu() - kfree an object after a grace period(port, rcu)
219  size等于0
221  spin_unlock_bh( & sel_netport_lock)