diff options
author | Stefan Assmann <sassmann@kpanic.de> | 2019-09-05 08:34:22 +0200 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2019-09-11 09:10:46 -0700 |
commit | c5c922b3e09b6e5eeb9cd2b1122f3e49c0bf2283 (patch) | |
tree | 0eec06c79e9dd6ea09f021d60b6497dffcf51190 /fs/Kconfig | |
parent | 8ad2e298294766930e34677ee51b159da31e3898 (diff) | |
download | linux-c5c922b3e09b6e5eeb9cd2b1122f3e49c0bf2283.tar.bz2 |
iavf: fix MAC address setting for VFs when filter is rejected
Currently iavf unconditionally applies MAC address change requests. This
brings the VF in a state where it is no longer able to pass traffic if
the PF rejects a MAC filter change for the VF.
A typical scenario for a rejected MAC filter is for an untrusted VF to
request to change the MAC address when an administratively set MAC is
present.
To keep iavf working in this scenario the MAC filter handling in iavf
needs to act on the PF reply regarding the MAC filter change. In the
case of an ack the new MAC address gets set, whereas in the case of a
nack the previous MAC address needs to stay in place.
Signed-off-by: Stefan Assmann <sassmann@kpanic.de>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'fs/Kconfig')
0 files changed, 0 insertions, 0 deletions