Commit db84bf4
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>1 parent 4fd190a commit db84bf4
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11103 | 11103 | | |
11104 | 11104 | | |
11105 | 11105 | | |
| 11106 | + | |
11106 | 11107 | | |
11107 | 11108 | | |
11108 | 11109 | | |
11109 | 11110 | | |
11110 | 11111 | | |
| 11112 | + | |
11111 | 11113 | | |
11112 | 11114 | | |
11113 | 11115 | | |
| |||
11140 | 11142 | | |
11141 | 11143 | | |
11142 | 11144 | | |
| 11145 | + | |
11143 | 11146 | | |
11144 | 11147 | | |
11145 | 11148 | | |
| |||
0 commit comments