diff options
author | Jacob Keller <jacob.e.keller@intel.com> | 2016-03-11 09:52:32 -0800 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2016-04-20 23:06:21 -0700 |
commit | 1e4c32f3ede19bdb738aec2cc3cf69439d7b9310 (patch) | |
tree | ea43c37c01a3d62f9dde6c528db410d5323aa8e9 /drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c | |
parent | 2d0f76bedbddaacc465c7a3ebdc9f8c13f68d931 (diff) |
fm10k: prevent RCU issues during AER events
During an AER action response, we were calling fm10k_close without
holding the rtnl_lock() which could lead to possible RCU warnings being
produced due to 64bit stat updates among other causes. Similarly, we
need rtnl_lock() around fm10k_open during fm10k_io_resume. Follow the
same pattern elsewhere in the driver and protect the entire open/close
sequence.
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>
Diffstat (limited to 'drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c')
0 files changed, 0 insertions, 0 deletions