aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorJesse Brandeburg <[email protected]>2012-01-04 20:23:33 +0000
committerDavid S. Miller <[email protected]>2012-01-05 13:12:03 -0500
commit3a3847e007aae732d64d8fd1374126393e9879a3 (patch)
treea333ee4a5f369b6027ce16db120858877247d17a /net/lapb/lapb_timer.c
parent1032c736e81cdf490ae62f86da7efe67c3c3e61d (diff)
e1000: fix lockdep splat in shutdown handler
As reported by Steven Rostedt, e1000 has a lockdep splat added during the recent merge window. The issue is that cancel_delayed_work is called while holding our private mutex. There is no reason that I can see to hold the mutex during pci shutdown, it was more just paranoia that I put the mutex_lock around the call to e1000_down. In a quick survey lots of drivers handle locking differently when being called by the pci layer. The assumption here is that we don't need the mutexes' protection in this function because the driver could not be unloaded while in the shutdown handler which is only called at reboot or poweroff. Reported-by: Steven Rostedt <[email protected]> Signed-off-by: Jesse Brandeburg <[email protected]> Tested-by: Steven Rostedt <[email protected]> Tested-by: Aaron Brown <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions