diff options
author | Prashant Sreedharan <[email protected]> | 2015-01-14 11:33:49 -0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2015-01-14 17:05:50 -0500 |
commit | 4fd190a938cbb28ac9d42c5c86f5c829cc014537 (patch) | |
tree | 7c6055ad7d3f9ed4e77b32bc28a81e8253e56ca2 /tools/perf/util/trace-event-scripting.c | |
parent | b0d11b42785b70e19bc6a3122eead3f7969a7589 (diff) |
tg3: tg3_timer() should grab tp->lock before checking for tp->irq_sync
This is to avoid the race between tg3_timer() and the execution paths
which does not invoke tg3_timer_stop() and releases tp->lock before
calling synchronize_irq()
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