[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080718163836.60f5a021@extreme>
Date: Fri, 18 Jul 2008 16:38:36 -0700
From: Stephen Hemminger <shemminger@...tta.com>
To: unlisted-recipients:; (no To-header on input)
Cc: David Miller <davem@...emloft.net>, netdev@...r.kernel.org
Subject: [PATCH] net: missing lock initialization
Looks like the xmit_lock is not being initialized in net-next
Signed-off-by: Stephen Hemminger <shemminger@...tta.com>
--- a/net/core/dev.c 2008-07-18 16:31:16.000000000 -0700
+++ b/net/core/dev.c 2008-07-18 16:35:31.000000000 -0700
@@ -4175,6 +4175,7 @@ static void netdev_init_one_queue(struct
struct netdev_queue *queue,
void *_unused)
{
+ spin_lock_init(&queue->_xmit_lock);
queue->dev = dev;
}
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists