diff options
author | Andre Guedes <andre.guedes@intel.com> | 2020-03-18 16:00:56 -0700 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2020-04-19 11:59:24 -0700 |
commit | a73eb651005eef079a6bf3b448d1b6eb607bc80b (patch) | |
tree | 2b5695b09f48cf080ec4aa5536362344aaf749b3 /drivers/net/ethernet/intel/igc/igc_ethtool.c | |
parent | 424045bec085575fe4818428e6a68dac7cca48f3 (diff) |
igc: Improve address check in igc_del_mac_filter()
igc_add_mac_filter() doesn't allow filters with invalid MAC address to
be added to adapter->mac_table so, in igc_del_mac_filter(), we can early
return if MAC address is invalid. No need to traverse the table.
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 'drivers/net/ethernet/intel/igc/igc_ethtool.c')
0 files changed, 0 insertions, 0 deletions