summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorSylwester Dziedziuch <sylwesterx.dziedziuch@intel.com>2022-08-03 10:42:46 +0200
committerTony Nguyen <anthony.l.nguyen@intel.com>2022-08-17 09:30:44 -0700
commit664d4646184ed986f8195df684cc4660563fb02a (patch)
treef4dcbbc4663ff34d66146859ab935a65aae21f2c /drivers/video
parent79956b83ed4281c35561c39254558092d96a9ed1 (diff)
downloadlinux-664d4646184ed986f8195df684cc4660563fb02a.tar.gz
linux-664d4646184ed986f8195df684cc4660563fb02a.tar.bz2
linux-664d4646184ed986f8195df684cc4660563fb02a.zip
ice: Fix VF not able to send tagged traffic with no VLAN filters
VF was not able to send tagged traffic when it didn't have any VLAN interfaces and VLAN anti-spoofing was enabled. Fix this by allowing VFs with no VLAN filters to send tagged traffic. After VF adds a VLAN interface it will be able to send tagged traffic matching VLAN filters only. Testing hints: 1. Spawn VF 2. Send tagged packet from a VF 3. The packet should be sent out and not dropped 4. Add a VLAN interface on VF 5. Send tagged packet on that VLAN interface 6. Packet should be sent out and not dropped 7. Send tagged packet with id different than VLAN interface 8. Packet should be dropped Fixes: daf4dd16438b ("ice: Refactor spoofcheck configuration functions") Signed-off-by: Sylwester Dziedziuch <sylwesterx.dziedziuch@intel.com> Signed-off-by: Mateusz Palczewski <mateusz.palczewski@intel.com> Tested-by: Konrad Jankowski <konrad0.jankowski@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/video')
0 files changed, 0 insertions, 0 deletions