Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\skbuff.h Create Date:2022-07-28 05:52:23
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:skb_queue_head_init_class

Proto:static inline void skb_queue_head_init_class(struct sk_buff_head *list, struct lock_class_key *class)

Type:void

Parameter:

TypeParameterName
struct sk_buff_head *list
struct lock_class_key *class
1850  This function creates a split out lock class for each invocation;* this is needed for now since a whole lot of users of the skb-queue* infrastructure in drivers have different locking usage (in hardirq)* than the networking core (in softirq only)
1851  lockdep_set_class( & lock, class)