openwrt/target/linux/generic/hack-5.15
Etienne Champetier 244328b19c
kernel: remove bridge offload hack
This patch initially introduced in 94b4da9b4a
breaks mvebu devices when using vlan filtering with kernel 5.15 or 6.1,
it was working ok in 5.10.

With this patch, frame that should exit untagged from the switch exit tagged.
Running 'tcpdump -Q out -evnnli eth1' (eth1 being the dsa interface)
- with the hack, frame is sent directly to the
destination port 4 with VID 2, so the switch leave the tag as instructed:
11:22:33:44:55:66 > 77:88:99:aa:bb:cc, Marvell EDSA ethertype 0xdada (Unknown), rsvd 0 0, mode From CPU, target dev 0, port 4, tagged, VID 2, FPri 0, ethertype ARP (0x0806), length 50: Ethernet (len 6), IPv4 (len 4), Request who-has 5.6.7.8 tell 1.2.3.4, length 28

- without the hack, frame is sent to the switch that
performs the forwarding decision and untagging:
11:22:33:44:55:66 > 77:88:99:aa:bb:cc, Marvell EDSA ethertype 0xdada (Unknown), rsvd 0 0, mode Forward, dev 1, port 0, tagged, VID 2, FPri 0, ethertype ARP (0x0806), length 50: Ethernet (len 6), IPv4 (len 4), Request who-has 5.6.7.8 tell 1.2.3.4, length 28

Removing this patch makes my Turris Omnia usable with vlan filtering,
ie wifi device can talk to wired device again.
Using kernel 5.15 some broadcast/multicast traffic is still leaked
(on a VLAN 2 access port I see tagged VLAN 3 frame),
using kernel 6.1 fixes that.

People needing the extra performance should try the bridger package.

Acked-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2023-06-13 21:28:13 +02:00
..
204-module_strip.patch
205-kconfig-abort-configuration-on-unset-symbol.patch
210-darwin_scripts_include.patch
211-darwin-uuid-typedef-clash.patch
212-tools_portability.patch
214-spidev_h_portability.patch
220-arm-gc_sections.patch
221-module_exports.patch
230-openwrt_lzma_options.patch
250-netfilter_depends.patch
251-kconfig.patch
253-ksmbd-config.patch
259-regmap_dynamic.patch kernel: bump 5.15 to 5.15.116 2023-06-12 20:39:38 +02:00
260-crypto_test_dependencies.patch
261-lib-arc4-unhide.patch
280-rfkill-stubs.patch
300-MIPS-r4k_cache-use-more-efficient-cache-blast.patch
321-powerpc_crtsavres_prereq.patch
402-mtd-blktrans-call-add-disks-after-mtd-device.patch
410-block-fit-partition-parser.patch
420-mtd-support-OpenWrt-s-MTD_ROOTFS_ROOT_DEV.patch
421-drivers-mtd-parsers-add-nvmem-support-to-cmdlinepart.patch
430-mtk-bmt-support.patch
601-of_net-add-mac-address-ascii-support.patch generic: update nvmem cell mac-address-ascii support 2023-04-21 21:35:45 +02:00
645-netfilter-connmark-introduce-set-dscpmark.patch
650-netfilter-add-xt_FLOWOFFLOAD-target.patch
651-wireless_mesh_header.patch
660-fq_codel_defaults.patch
661-kernel-ct-size-the-hashtable-more-adequately.patch
700-swconfig_switch_drivers.patch generic: backport initial LEDs hw control support 2023-06-06 11:01:31 +02:00
711-net-dsa-mv88e6xxx-disable-ATU-violation.patch kernel: bump 5.15 to 5.15.106 2023-04-09 14:48:34 +02:00
720-net-phy-add-aqr-phys.patch
721-net-add-packet-mangeling.patch kernel: bump 5.15 to 5.15.113 2023-05-26 11:50:37 +02:00
722-net-phy-aquantia-enable-AQR112-and-AQR412.patch
723-net-phy-aquantia-fix-system-side-protocol-mi.patch
724-net-phy-aquantia-Add-AQR113-driver-support.patch
725-net-phy-aquantia-add-PHY_IDs-for-AQR112-variants.patch
750-net-pcs-mtk-lynxi-workaround-2500BaseX-no-an.patch generic: Convert incorrect generic/5.15 patches again 2023-04-27 16:18:44 +01:00
760-net-usb-r8152-add-LED-configuration-from-OF.patch kernel: bump 5.15 to 5.15.112 2023-05-18 18:22:27 +02:00
761-dt-bindings-net-add-RTL8152-binding-documentation.patch
765-mxl-gpy-control-LED-reg-from-DT.patch
766-net-phy-mediatek-ge-add-LED-configuration-interface.patch ramips: fix mt7621 kernel compilation 2023-05-12 09:38:58 +02:00
773-bgmac-add-srab-switch.patch
780-usb-net-MeigLink_modem_support.patch kernel: bump 5.15 to 5.15.110 2023-05-03 16:32:26 +02:00
790-SFP-GE-T-ignore-TX_FAULT.patch kernel: bump 5.15 to 5.15.108 2023-04-22 01:10:24 +02:00
795-backport-phylink_pcs-helpers.patch generic: Convert incorrect generic/5.15 patches again 2023-04-27 16:18:44 +01:00
800-GPIO-add-named-gpio-exports.patch
810-bcma-ssb-fallback-sprom.patch linux/generic/hack-5.15: add missing patch header 2023-05-12 12:28:57 +02:00
901-debloat_sock_diag.patch
902-debloat_proc.patch kernel: bump 5.15 to 5.15.107 2023-04-19 00:55:58 +02:00
904-debloat_dma_buf.patch
910-kobject_uevent.patch
911-kobject_add_broadcast_uevent.patch
920-device_tree_cmdline.patch
930-Revert-Revert-Revert-driver-core-Set-fw_devlink-on-b.patch