opnsense-src/sys/dev
Vincenzo Maffione f7926a6d0c net: iflib: fix vlan processing in the drivers
The logic that sets iri_vtag and M_VLANTAG does not handle the
case where the 802.11q VLAN tag is 0. Fix this issue across
the iflib drivers. While there, also improve and align the
VLAN tag check extraction, by moving it outside the RX descriptor
loop, eliminating a local variable and additional checks.

PR:             260068
Reviewed by:    kbowling, gallatin
Reported by:	erj
MFC after:      1 month
Differential Revision:  https://reviews.freebsd.org/D33156
2021-12-28 11:11:41 +00:00
..
aac
aacraid
acpi_support acpi_support: Remove CTLFLAG_NEEDGIANT from sysctls. 2021-12-26 19:37:08 -05:00
acpica acpica: Remove CTLFLAG_NEEDGIANT from most sysctls. 2021-12-26 19:18:55 -05:00
adb
adlink
ae
age
agp
ahci ahci(4): Allow enclosure emulation without hardware. 2021-12-17 15:34:43 -05:00
aic7xxx
al_eth
alc alc: plug set-but-not-unused vars 2021-12-10 11:48:42 +00:00
ale
alpm
altera
amd_ecc_inject
amdgpio
amdpm
amdsbwd amdsbwd: always enable watchdog register decoding 2021-12-13 13:36:50 +02:00
amdsmb
amdsmn
amdtemp amdtemp: Remove CTLFLAG_NEEDGIANT from sysctls. 2021-12-25 21:03:54 -05:00
arcmsr sys/dev/arcmsr: Update Areca RAID driver to fix some issues on ARC-1886. 2021-12-13 08:09:15 -08:00
asmc asmc: plug set-but-not-unused vars 2021-12-10 11:45:36 +00:00
ata ata-promise: kill lenght, it's set but never used 2021-12-14 16:53:09 -07:00
ath
atkbdc
axgbe
backlight
bce
beri
bfe bfe: plug a set-but-not-unused var 2021-12-10 12:02:05 +00:00
bge
bhnd bhnd: plug set-but-not-used vars 2021-12-14 14:59:09 +00:00
bnxt
bwi
bwn
bxe bxe: plug some of set-but-not-used vars 2021-12-10 12:19:16 +00:00
cadence
cardbus
cas
ce
cesa
cfe
cfi
chromebook_platform
ciss
coretemp
cp
cpuctl
cpufreq cpufreq: Support operating-mode-v2 tables with no voltages 2021-12-14 09:49:17 -08:00
cxgb
cxgbe tcp: TCP output method can request tcp_drop 2021-12-26 08:48:19 -08:00
cyapa
dc
dcons
dme
dpaa
dpms
drm2
dwc
dwwdt
e1000 net: iflib: fix vlan processing in the drivers 2021-12-28 11:11:41 +00:00
efidev
ena
enetc enetc(4): Fix a typo in a source code comment 2021-12-22 10:01:54 +01:00
et
etherswitch
evdev
exca
extres clk: rename clknode_try_freq to clknode_test_freq 2021-12-26 06:16:02 -08:00
fb
fdc
fdt
ffec
filemon
firewire firewire(4): Fix "set but not used" warnings 2021-12-20 11:24:21 +00:00
flash
ftwd
fxp
gem
glxiic
glxsb
goldfish
gpio
gxemul
hdmi
hid usb(4): Fix build after 45b48cbc2b. 2021-12-18 21:31:03 +01:00
hifn
hpt27xx
hptiop
hptmv
hptnr
hptrr
hwpmc hwpmc: Remove CTLFLAG_NEEDGIANT from sysctl. 2021-12-25 21:40:14 -05:00
hyperv hyperv: scanning locking is using the bus mtx 2021-12-14 16:53:09 -07:00
iavf net: iflib: fix vlan processing in the drivers 2021-12-28 11:11:41 +00:00
ic
ice net: iflib: fix vlan processing in the drivers 2021-12-28 11:11:41 +00:00
ichiic
ichsmb
ichwd
ida ida: plug set-but-not-used vars 2021-12-16 13:23:30 +00:00
igc net: iflib: fix vlan processing in the drivers 2021-12-28 11:11:41 +00:00
iicbus twsi: use twsi_error() to handle wrong bus status when starting 2021-12-19 12:05:52 +02:00
imcsmb
intel
intpm
io
ioat
iommu
ipmi
ips
ipw
isci
iscsi
iser
isl
ismt
isp isp(4): Allow more than 2 ports to read WWNs from NVRAM. 2021-12-14 13:26:44 -05:00
ispfw
itwd
iwi
iwm iwm: plug some of set-but-not-used vars 2021-12-14 17:06:56 +00:00
iwn
ixgbe net: iflib: fix vlan processing in the drivers 2021-12-28 11:11:41 +00:00
ixl net: iflib: fix vlan processing in the drivers 2021-12-28 11:11:41 +00:00
jedec_dimm
jme
kbd
kbdmux
ksyms
kvm_clock
le
led
lge
liquidio
malo
mana
mbox
md
mdio
mem
mfi
mgb
mge
mii
mlx
mlx4
mlx5
mlxfw
mmc
mmcnull
mpr
mps
mpt
mrsas
msk
mthca
mvs
mwl mwl: plug some of set-but-not-used vars 2021-12-15 12:35:38 +00:00
mxge
my
nctgpio
neta
netfpga10g/nf10bmac
netmap
nfe nfe: plug set-but-not-unused vars 2021-12-10 11:53:38 +00:00
nfsmb
nge
nmdm
ntb
null
nvd
nvdimm
nvme
nvram
nvram2env
oce if_oce: fix epoch handling 2021-12-18 23:43:00 +01:00
ocs_fc ocs_fc: Populate subvendor and subdevice ids. 2021-12-21 12:41:51 +05:30
ofw
otus
ow
p2sb
pbio
pccard pccard: Remove more of the PC Card infrastructure 2021-12-14 15:27:47 -07:00
pccbb pccbb: Remove Giant mention in comments. 2021-12-25 21:51:48 -05:00
pcf
pci
pms
powermac_nvram
ppbus
ppc
proto
psci
pst
pty
puc
pwm
qat qat: Address -Wunused-but-set-variable warnings 2021-12-17 13:10:22 -05:00
qcom_clk qcom_clk: add the qualcomm clock nodes for the IPQ4018 2021-12-27 13:02:30 -08:00
qcom_dwc3 qcom_dwc3: add initial Qualcomm SoC DWC3 controller glue 2021-12-27 18:25:32 -08:00
qcom_gcc Add support for qualcomm clock nodes the the IPQ4018/IPQ4019 clock tree. 2021-12-27 13:02:31 -08:00
qcom_qup qcom_qup: add initial v1/v2 QUP SPI driver 2021-12-27 15:27:29 -08:00
qcom_rnd
qcom_tcsr qcom_tcsr: add initial top control and status register (TCSR) support 2021-12-27 15:56:28 -08:00
qcom_tlmm qcom_tlmm: add initial gpio/pinmux controller (TLMM) 2021-12-23 10:41:41 -08:00
qlnx
qlxgb
qlxgbe
qlxge
quicc
ral ral: plug set-but-not-used vars 2021-12-14 14:24:21 +00:00
random
rccgpio
re re: Avoid subobject overread when setting IDRn 2021-12-23 20:19:31 +00:00
rl
rndtest
rt
rtsx
rtwn
safe
safexcel safexcel: plug set-but-not-used vars 2021-12-18 13:29:32 +00:00
sbni
scc
sdhci sdhci: plug set-but-not-unused vars 2021-12-14 14:08:35 +00:00
sdio
sec
sfxge
sge
siis
sis sis: plug set-but-not-used vars 2021-12-14 14:31:10 +00:00
sk sk: plug set-but-not-used vars 2021-12-14 14:08:17 +00:00
smartpqi
smbios
smbus
smc
snp
sound sound: Remove CTLFLAG_NEEDGIANT from some sysctls. 2021-12-26 20:39:32 -05:00
speaker
spibus
ste
stge
sume
superio
sym
syscons
tcp_log
tdfx
terasic
ti
tpm
tsec
twe
tws
uart uart: Remove CTLFLAG_NEEDGIANT from sysctl. 2021-12-25 21:30:02 -05:00
usb usb(4): Fix build on 32-bit platforms after 0ec590d24e. 2021-12-18 21:31:58 +01:00
veriexec
vge
viapm
viawd
videomode
virtio virtio: plug some of set-but-not-used vars 2021-12-14 14:38:42 +00:00
vkbd
vmd
vmgenc
vmware vmx: plug set-but-not-used var 2021-12-14 14:12:35 +00:00
vnic
vr
vt
vte
watchdog
wbwd
wpi
wtap
xdma xdma: Fix another -Wunused-but-set-variable warning previously missed 2021-12-10 05:06:54 +00:00
xen xen/blkfront: Remove CTLFLAG_NEEDGIANT from sysctl. 2021-12-25 21:24:24 -05:00
xilinx
xl
xz
zlib