lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
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