From: Prashant Sreedharan Date: Wed, 14 Jan 2015 19:34:17 +0000 (-0800) Subject: tg3: tg3_reset_task() needs to use rtnl_lock to synchronize X-Git-Tag: fixes-v4.0-rc1~296^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db84bf43ef23157cbb40ce8626475187f5ae90c3;p=pandora-kernel.git 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 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