summaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorMitch Williams <mitch.a.williams@intel.com>2015-04-27 21:57:16 +0300
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2015-07-15 04:26:42 +0300
commit68ef169204e3a88ea4823645038d5496f66200f6 (patch)
tree72f27a290c58fbe2772d5aad1c5576857fb86d1b /net/switchdev/switchdev.c
parent5b8f8505d37c63d492391e5fafcd43332671b36b (diff)
downloadlinux-68ef169204e3a88ea4823645038d5496f66200f6.tar.xz
i40evf: don't delete all the filters
Due to an inverted conditional, the driver was marking all of its MAC filters for deletion every time set_rx_mode was called. Depending upon the timing of the calls to set_rx_mode and the processing of the admin queue, the driver would (accidentally) end up with a varying number of functional filters. Correct this logic so that MAC filters are added and removed correctly. Add a check for the driver's "hardware" MAC address so that this filter doesn't get removed incorrectly. Change-ID: Ib3e7c4a5b53df6835f164fe44cb778cb71f8aff8 Signed-off-by: Mitch Williams <mitch.a.williams@intel.com> Tested-by: Jim Young <james.m.young@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions