aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/mpt2sas/mpi/mpi2_ioc.h
diff options
context:
space:
mode:
authorPrashant Sreedharan <[email protected]>2015-01-14 19:34:17 +0000
committerDavid S. Miller <[email protected]>2015-01-14 22:05:51 +0000
commitdb84bf43ef23157cbb40ce8626475187f5ae90c3 (patch)
tree081715d4e53dbfc7a6d404355a165b6dbcc766b9 /drivers/scsi/mpt2sas/mpi/mpi2_ioc.h
parenttg3: tg3_timer() should grab tp->lock before checking for tp->irq_sync (diff)
downloadkernel-db84bf43ef23157cbb40ce8626475187f5ae90c3.tar.gz
kernel-db84bf43ef23157cbb40ce8626475187f5ae90c3.zip
tg3: tg3_reset_task() needs to use rtnl_lock to synchronize
Currently tg3_reset_task() uses only tp->lock for synchronizing with code paths like tg3_open() etc. But since tp->lock is released before doing synchronize_irq(), rtnl_lock should be taken in tg3_reset_task() to synchronize it with other code paths. Reported-by: Peter Hurley <[email protected]> Tested-by: Peter Hurley <[email protected]> Signed-off-by: Prashant Sreedharan <[email protected]> Signed-off-by: Michael Chan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_ioc.h')
0 files changed, 0 insertions, 0 deletions