aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorPrashant Sreedharan <[email protected]>2015-01-14 11:34:17 -0800
committerDavid S. Miller <[email protected]>2015-01-14 17:05:51 -0500
commitdb84bf43ef23157cbb40ce8626475187f5ae90c3 (patch)
tree081715d4e53dbfc7a6d404355a165b6dbcc766b9 /tools/perf/util/trace-event-scripting.c
parent4fd190a938cbb28ac9d42c5c86f5c829cc014537 (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 <[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 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions