summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2009-03-22 21:28:39 -0700
committerDavid S. Miller <davem@davemloft.net>2009-03-22 21:28:39 -0700
commite3162d381fc359ebe5c98a3e216888a7cb200051 (patch)
treed3affce735bf848e98150541fe2c487319a29bd0 /net
parent6580f57d485f70851218813fa053d971915f61fb (diff)
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 'net')
0 files changed, 0 insertions, 0 deletions