diff options
author | Prashant Sreedharan <prashant@broadcom.com> | 2015-01-14 20:33:49 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-14 23:05:50 +0100 |
commit | 4fd190a938cbb28ac9d42c5c86f5c829cc014537 (patch) | |
tree | 7c6055ad7d3f9ed4e77b32bc28a81e8253e56ca2 /virt | |
parent | team: avoid possible underflow of count_pending value for notify_peers and mc... (diff) | |
download | linux-4fd190a938cbb28ac9d42c5c86f5c829cc014537.tar.xz linux-4fd190a938cbb28ac9d42c5c86f5c829cc014537.zip |
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 <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 'virt')
0 files changed, 0 insertions, 0 deletions