summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPrashant Sreedharan <prashant@broadcom.com>2015-01-14 20:33:49 +0100
committerDavid S. Miller <davem@davemloft.net>2015-01-14 23:05:50 +0100
commit4fd190a938cbb28ac9d42c5c86f5c829cc014537 (patch)
tree7c6055ad7d3f9ed4e77b32bc28a81e8253e56ca2 /lib
parentteam: avoid possible underflow of count_pending value for notify_peers and mc... (diff)
downloadlinux-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 'lib')
0 files changed, 0 insertions, 0 deletions