commit | 7f90128e246ea9827dd5ac532e49611aaf001892 | [log] [tgz] |
---|---|---|
author | Akeem G Abodunrin <akeem.g.abodunrin@intel.com> | Thu Jun 27 09:10:23 2013 +0000 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Thu Aug 22 02:25:29 2013 -0700 |
tree | 9078b7cf0c6028f4036a9905eb0f4ece3ce2e8fa | |
parent | e5c3370ffbe1336f7ee01233ba6b48a1ac06ec07 [diff] |
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>