From: Prashant Sreedharan Date: Wed, 14 Jan 2015 19:33:49 +0000 (-0800) Subject: tg3: tg3_timer() should grab tp->lock before checking for tp->irq_sync X-Git-Tag: fixes-v4.0-rc1~296^2^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4fd190a938cbb28ac9d42c5c86f5c829cc014537;p=pandora-kernel.git 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 Tested-by: Peter Hurley Signed-off-by: Prashant Sreedharan Signed-off-by: Michael Chan Signed-off-by: David S. Miller --- Reading git-diff-tree failed