]> git.baikalelectronics.ru Git - kernel.git/commit
igb: Added rcu_lock to avoid race
authorAkeem G Abodunrin <akeem.g.abodunrin@intel.com>
Thu, 27 Jun 2013 09:10:23 +0000 (09:10 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 22 Aug 2013 09:25:29 +0000 (02:25 -0700)
commit37719ae74d1cc0ae7721b1c427de7a6f4b4b9d8f
tree9078b7cf0c6028f4036a9905eb0f4ece3ce2e8fa
parent909925b46d30b35470f0462d6d61613a7005264a
igb: Added rcu_lock to avoid race

This patch adds rcu_lock to avoid possible race condition with igb_update_stats
function accessing the rings in free_ q_vector.

CC: Eric Dumazet <edumazet@google.com>
Signed-off-by: Akeem G Abodunrin <akeem.g.abodunrin@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igb/igb_main.c