openwrt/target/linux
Sander Vanheule 1773264a0c realtek: correct egress frame port verification
Destination switch ports for outgoing frame can range from 0 to
CPU_PORT-1.

Refactor the code to only generate egress frame CPU headers when a valid
destination port number is available, and make the code a bit more
consistent between different switch generations. Change the dest_port
argument's type to 'unsigned int', since only positive values are valid.

This fixes the issue where egress frames on switch port 0 did not
receive a VLAN tag, because they are sent out without a CPU header.
Also fixes a potential issue with invalid (negative) egress port numbers
on RTL93xx switches.

Reported-by: Arınç ÜNAL <arinc.unal@xeront.com>
Suggested-by: Birger Koblitz <mail@birger-koblitz.de>
Tested-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
Signed-off-by: Sander Vanheule <sander@svanheule.net>
2022-07-17 10:06:51 +02:00
..
apm821xx kernel: bump 5.10 to 5.10.127 2022-06-29 23:38:47 +02:00
archs38
armvirt
at91 kernel: bump 5.10 to 5.10.121 2022-06-27 00:57:15 +02:00
ath25
ath79 ath79: fix Tx cleanup when NAPI poll budget is zero 2022-07-14 12:51:16 +02:00
bcm27xx bcm27xx: update patch to fix build 2022-07-11 23:39:13 +01:00
bcm47xx kernel: bump 5.10 to 5.10.124 2022-06-27 00:57:15 +02:00
bcm53xx bcm53xx: add support for Meraki MR26 2022-07-15 15:21:44 +02:00
bcm63xx kernel: bump 5.15 to 5.15.46 2022-06-27 00:57:16 +02:00
bcm4908
bmips
gemini
generic generic: fix warning orphan section from module exports in aarch64 2022-07-14 07:15:35 +02:00
imx imx: keep common kernel symbols in target's config 2022-07-11 14:28:09 +02:00
ipq40xx ipq-wifi: drop upstreamed board-2.bin 2022-07-15 15:21:44 +02:00
ipq806x
kirkwood
lantiq lantiq: dts: td-w8980: Remove duplicate PCI properties 2022-06-27 00:57:16 +02:00
layerscape kernel: cut broken SPI_NOR 4K eraseblock LIMIT patch 2022-06-29 12:34:49 +02:00
malta
mediatek mediatek: mt7622: add linux-next tag to bpi-wps-button fix 2022-07-14 08:35:55 +02:00
mpc85xx kernel: bump 5.10 to 5.10.122 2022-06-27 00:57:15 +02:00
mvebu mvebu: cortexa72: fix ImageBuilder for IEI Puzzle devices 2022-07-04 18:36:09 +01:00
mxs
octeon octeon: add support for Ubiquiti UniFi Security Gateway 2022-06-24 23:59:14 +02:00
octeontx
omap
oxnas kernel: bump 5.10 to 5.10.121 2022-06-27 00:57:15 +02:00
pistachio kernel: backport mtd dynamic partition patch 2022-07-08 10:19:58 +02:00
qoriq qoriq: enable Book-E Watchdog Timer 2022-07-01 16:26:51 +03:00
ramips kernel: bump 5.15 to 5.15.53 2022-07-11 00:50:18 +02:00
realtek realtek: correct egress frame port verification 2022-07-17 10:06:51 +02:00
rockchip rockchip: reliably distribute net interrupts 2022-07-07 13:13:26 +02:00
sunxi
tegra
uml
x86 x86: 64: Add kmod-igc to default packages 2022-06-29 00:57:57 +02:00
zynq
Makefile