HomeFreeBSD

igc: Remove redundant IFCAP_VLAN_HWTAGGING check

Description

igc: Remove redundant IFCAP_VLAN_HWTAGGING check

Match igb(4) as in f7926a6d0c10. From Vincenzo, this check is redundant
to setup providing us an IGC_RXD_STAT_VP bit and would make for an
unexpected condition if IFCAP_VLAN_HWTAGGING were not set but the tag
was stripped, which would be passed up the stack breaking isolation.

PR: 260068
Approved by: vmaffione

(cherry picked from commit b4a58b3d5831dd2e7e79d9d7cbc3e920803cb4f6)

Details

Provenance
Kevin Bowling <kbowling@FreeBSD.org>Authored on Dec 29 2021, 4:37 PM
Parents
rG27941a274ebf: dma: update to 2022-01-27 snapshot
Branches
Unknown
Tags
Unknown

Event Timeline

Kevin Bowling <kbowling@FreeBSD.org> committed rGb02fa10699b2: igc: Remove redundant IFCAP_VLAN_HWTAGGING check (authored by Kevin Bowling <kbowling@FreeBSD.org>).Jan 30 2022, 8:42 PM