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-prev] [day] [month] [year] [list]
Message-Id: <20100517.224843.90787234.davem@davemloft.net>
Date:	Mon, 17 May 2010 22:48:43 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	baruch@...s.co.il
Cc:	netdev@...r.kernel.org, stable@...nel.org, s.hauer@...gutronix.de,
	ben-linux@...ff.org
Subject: Re: [PATCH] dm9000: fix "BUG: spinlock recursion"

From: Baruch Siach <baruch@...s.co.il>
Date: Sun, 16 May 2010 13:06:47 +0300

> dm9000_set_rx_csum and dm9000_hash_table are called from atomic context (in
> dm9000_init_dm9000), and from non-atomic context (via ethtool_ops and
> net_device_ops respectively). This causes a spinlock recursion BUG. Fix this by
> renaming these functions to *_unlocked for the atomic context, and make the
> original functions locking wrappers for use in the non-atomic context.
> 
> Signed-off-by: Baruch Siach <baruch@...s.co.il>

Applied.
--
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