diff options
author | Baruch Siach | 2010-05-18 02:45:48 +0200 |
---|---|---|
committer | David S. Miller | 2010-05-18 02:45:48 +0200 |
commit | 380fefb2ddabd4cd5f14dbe090481f0544e65078 (patch) | |
tree | ddfc9380df76bfc85eee7eeb978a649a4b2383c3 /Documentation/RCU/trace.txt | |
parent | drivers/net/usb: Use kmemdup (diff) | |
download | kernel-qcow2-linux-380fefb2ddabd4cd5f14dbe090481f0544e65078.tar.gz kernel-qcow2-linux-380fefb2ddabd4cd5f14dbe090481f0544e65078.tar.xz kernel-qcow2-linux-380fefb2ddabd4cd5f14dbe090481f0544e65078.zip |
dm9000: fix "BUG: spinlock recursion"
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@tkos.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/RCU/trace.txt')
0 files changed, 0 insertions, 0 deletions