Files
linux/drivers/net
Michael Chan f5992b72eb tg3: Fix race condition in tg3_get_stats64().
The driver's ndo_get_stats64() method is not always called under RTNL.
So it can race with driver close or ethtool reconfigurations.  Fix the
race condition by taking tp->lock spinlock in tg3_free_consistent()
when freeing the tp->hw_stats memory block.  tg3_get_stats64() is
already taking tp->lock.

Reported-by: Wang Yufen <wangyufen@huawei.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-01-07 21:35:04 -05:00
..
2016-12-25 17:21:22 +01:00
2016-12-23 17:53:47 -05:00
2017-01-06 15:52:43 -05:00
2016-12-25 17:21:22 +01:00
2016-12-25 10:47:44 +01:00
2017-01-03 18:51:40 -05:00