net: missing lock initialization
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): 20080718161048.678a9629@extreme
PATCH 1/1 net: missing lock initialization
Looks like the xmit_lock is not being initialized in net-next
Signed-off-by Stephen Hemminger <[email protected]>
net/core/dev.c +1 -0
@@ -4175,6 +4175,7 @@ static void netdev_init_one_queue(structstruct netdev_queue *queue, void *_unused) { + spin_lock_init(&queue->_xmit_lock); queue->dev = dev; }
David Miller
maintainerFrom: Stephen Hemminger <[email protected]>
Date: Fri, 18 Jul 2008 16:38:36 -0700
Quoted 3 lines
Looks like the
xmit_lockis not being initialized in net-nextSigned-off-by Stephen Hemminger <[email protected]>
I guess you can't find the call in __netdev_init_queue_locks_one().
With your patch we'll now be initializing it twice.