ice: Don't allow VSI to remove unassociated ucast filter
authorAkeem G Abodunrin <akeem.g.abodunrin@intel.com>
Thu, 25 Jul 2019 09:53:52 +0000 (02:53 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 23 Aug 2019 17:51:46 +0000 (10:51 -0700)
commit8b2c858240aca43c59fc7762f10754354406883d
tree0c88e7a5cadea835f5793ae4ec312bcbacc62d39
parentbbb968e8b34c2cf5ff99d0dfdb73639070b3dee1
ice: Don't allow VSI to remove unassociated ucast filter

If a VSI is not using a unicast filter or did not configure that
particular unicast filter, driver should not allow it to be removed
by the rogue VSI.

Signed-off-by: Akeem G Abodunrin <akeem.g.abodunrin@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ice/ice_switch.c