Files
linux/drivers
Jacob Keller b624714bc9 fm10k: avoid possible null pointer dereference in fm10k_update_stats
It's currently possible for fm10k_update_stats to be called during the
window when we go down and the rings are removed. This can result in
a null pointer dereference. In fm10k_get_stats64 we work around this by
using ACCESS_ONCE and a null pointer check inside the loop. Use this
same flow in the fm10k_update_stats to avoid the potential null pointer.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Krishneil Singh <Krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2016-07-20 15:22:09 -07:00
..
…
…
…
2016-05-31 22:17:05 +05:30
…
…
…
…
2016-06-09 22:38:16 +02:00
…
…
2016-06-23 00:29:32 +02:00
…
2016-06-09 14:28:28 -06:00
2016-05-27 15:26:11 -07:00
2016-06-15 09:51:35 +01:00
…
…
2016-05-29 22:32:27 -07:00
…
2016-05-20 18:33:37 -07:00
…
…
…
2016-06-07 15:56:31 -07:00
…
…
…
…
…
2016-05-31 21:25:52 -06:00
2016-07-01 05:32:17 -04:00
2016-05-31 08:20:43 +03:00
…
…
…