diff options
author | Andre Guedes <andre.guedes@intel.com> | 2020-04-24 23:16:14 +0300 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2020-05-23 04:21:51 +0300 |
commit | b500350a36ae6e83a03931723b787b771f411817 (patch) | |
tree | ff78765dbb2c79c7a5488bb0cefe0208aed22f97 /include/net | |
parent | d3ba9e6f6157e6fa047d853936dabb981e315080 (diff) | |
download | linux-b500350a36ae6e83a03931723b787b771f411817.tar.xz |
igc: Fix locking issue when retrieving NFC rules
Access to NFC rules stored in adapter->nfc_rule_list is protect by
adapter->nfc_rule_lock. The functions igc_ethtool_get_nfc_rule()
and igc_ethtool_get_nfc_rules() are missing to hold the lock while
accessing rule objects.
Signed-off-by: Andre Guedes <andre.guedes@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions