[NET]: Remove lockdep_set_class() call from skb_queue_head_init().
authorArjan van de Ven <arjan@linux.intel.com>
Wed, 2 Aug 2006 21:06:55 +0000 (14:06 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Aug 2006 21:06:55 +0000 (14:06 -0700)
commit76f10ad0e67cbc6ded2ee143e5188e0b7ff9fb15
treed7afe6a19eaa80587736a447a240faefde6bd4fc
parentdafee490858f79e144c5e6cdd84ceb9efa20a3f1
[NET]: Remove lockdep_set_class() call from skb_queue_head_init().

The skb_queue_head_init() function is used both in drivers for private use
and in the core networking code.  The usage models are vastly set of
functions that is only softirq safe; while the driver usage tends to be
more limited to a few hardirq safe accessor functions.  Rather than
annotating all 133+ driver usages, for now just split this lock into a per
queue class.  This change is obviously safe and probably should make
2.6.18.

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skbuff.h