Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

Proto:void sel_netnode_flush(void)

Type:void

Parameter:Nothing

278  spin_lock_bh( & sel_netnode_lock)
279  When idx < SEL_NETNODE_HASH_SIZE cycle
282  list_del_rcu - deletes entry from list without re-initialization*@entry: the element to delete from the list
283  kfree_rcu() - kfree an object after a grace period(node, rcu)
285  size = 0
287  spin_unlock_bh( & sel_netnode_lock)