mirror of
https://github.com/torvalds/linux.git
synced 2026-05-23 14:42:08 +02:00
ixgbe: fix spoofed packets with macvlans
When setting spoofing, both VLAN and MAC need to be set together. This change resolves an issue where MAC-VLANs on the VF fail to pass traffic due to spoofed packets. Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
parent
918b89e77f
commit
581e0c7df9
|
|
@ -954,6 +954,7 @@ static int ixgbe_set_vf_macvlan_msg(struct ixgbe_adapter *adapter,
|
|||
struct ixgbe_hw *hw = &adapter->hw;
|
||||
|
||||
hw->mac.ops.set_mac_anti_spoofing(hw, false, vf);
|
||||
hw->mac.ops.set_vlan_anti_spoofing(hw, false, vf);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user