summaryrefslogtreecommitdiffstats
path: root/drivers/net/myri10ge
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2009-03-23 05:28:39 +0100
committerDavid S. Miller <davem@davemloft.net>2009-03-23 05:28:39 +0100
commite3162d381fc359ebe5c98a3e216888a7cb200051 (patch)
treed3affce735bf848e98150541fe2c487319a29bd0 /drivers/net/myri10ge
parentnet: update dnet.c for bus_id removal (diff)
downloadlinux-e3162d381fc359ebe5c98a3e216888a7cb200051.tar.xz
linux-e3162d381fc359ebe5c98a3e216888a7cb200051.zip
dm9000: locking bugfix
This fixes a locking bug in the dm9000 driver. It calls request_irq() without setting IRQF_DISABLED ... which is correct for handlers that support IRQ sharing, since that behavior is not guaranteed for shared IRQs. However, its IRQ handler then wrongly assumes that IRQs are blocked. So the fix just uses the right spinlock primitives in the IRQ handler. NOTE: this is a classic example of the type of bug which lockdep currently masks by forcibly setting IRQF_DISABLED on IRQ handlers that did not request that flag. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/myri10ge')
0 files changed, 0 insertions, 0 deletions