diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2009-03-23 00:28:39 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-23 00:28:39 -0400 |
commit | e3162d381fc359ebe5c98a3e216888a7cb200051 (patch) | |
tree | d3affce735bf848e98150541fe2c487319a29bd0 /net | |
parent | 6580f57d485f70851218813fa053d971915f61fb (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