aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2010-05-17 17:45:48 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2010-08-02 10:21:25 -0700
commit46287c9a808ec7eb9f635f279474bdb1df2a8898 (patch)
treee2fe5978c9e3252f4af14620f1a4806c49924c3b /lib/string_helpers.c
parentf4b01c2be53befd8374d1569e1ae10bf9648025a (diff)
dm9000: fix "BUG: spinlock recursion"
commit 380fefb2ddabd4cd5f14dbe090481f0544e65078 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions