Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\selinux\netport.c Create Date:2022-07-28 19:10:23
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:sel_netport_flush - Flush the entire network port table* Description:* Remove all entries from the network address table.

Proto:void sel_netport_flush(void)

Type:void

Parameter:Nothing

212  spin_lock_bh( & sel_netport_lock)
213  When idx < SEL_NETPORT_HASH_SIZE cycle
216  list_del_rcu - deletes entry from list without re-initialization*@entry: the element to delete from the list
217  kfree_rcu() - kfree an object after a grace period(port, rcu)
219  size = 0
221  spin_unlock_bh( & sel_netport_lock)