diff --git a/[refs] b/[refs] index d5d1f9c7f8da..470cd34f631c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: dafee490858f79e144c5e6cdd84ceb9efa20a3f1 +refs/heads/master: 76f10ad0e67cbc6ded2ee143e5188e0b7ff9fb15 diff --git a/trunk/include/linux/skbuff.h b/trunk/include/linux/skbuff.h index b91fbfb7d54c..b22d4a6083bd 100644 --- a/trunk/include/linux/skbuff.h +++ b/trunk/include/linux/skbuff.h @@ -606,10 +606,17 @@ static inline __u32 skb_queue_len(const struct sk_buff_head *list_) extern struct lock_class_key skb_queue_lock_key; +/* + * 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). In the long run either the + * network layer or drivers should need annotation to consolidate the + * main types of usage into 3 classes. + */ static inline void skb_queue_head_init(struct sk_buff_head *list) { spin_lock_init(&list->lock); - lockdep_set_class(&list->lock, &skb_queue_lock_key); list->prev = list->next = (struct sk_buff *)list; list->qlen = 0; }