diff options
author | Prashant Sreedharan <prashant@broadcom.com> | 2015-01-14 11:34:17 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-14 17:05:51 -0500 |
commit | db84bf43ef23157cbb40ce8626475187f5ae90c3 (patch) | |
tree | 081715d4e53dbfc7a6d404355a165b6dbcc766b9 /arch/blackfin | |
parent | 4fd190a938cbb28ac9d42c5c86f5c829cc014537 (diff) |
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 <peter@hurleysoftware.com>
Tested-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Prashant Sreedharan <prashant@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/blackfin')
0 files changed, 0 insertions, 0 deletions