openwrt/target/linux/generic/hack-6.1
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 generic: 6.1: refresh hack patches 2023-05-22 22:28:16 +02:00
205-kconfig-abort-configuration-on-unset-symbol.patch generic: 6.1: refresh hack patches 2023-05-22 22:28:16 +02:00
210-darwin_scripts_include.patch generic: 6.1: refresh hack patches 2023-05-22 22:28:16 +02:00
211-darwin-uuid-typedef-clash.patch
212-tools_portability.patch generic: 6.1: refresh hack patches 2023-05-22 22:28:16 +02:00
214-spidev_h_portability.patch
220-arm-gc_sections.patch generic: 6.1: refresh hack patches 2023-05-22 22:28:16 +02:00
221-module_exports.patch generic: 6.1: refresh hack patches 2023-05-22 22:28:16 +02:00
230-openwrt_lzma_options.patch generic: 6.1: refresh hack patches 2023-05-22 22:28:16 +02:00
250-netfilter_depends.patch generic: 6.1: refresh hack patches 2023-05-22 22:28:16 +02:00
251-kconfig.patch generic: 6.1: refresh hack patches 2023-05-22 22:28:16 +02:00
253-ksmbd-config.patch generic: 6.1: refresh hack patches 2023-05-22 22:28:16 +02:00
259-regmap_dynamic.patch kernel: bump 6.1 to 6.1.33 2023-06-11 22:09:38 +02:00
260-crypto_test_dependencies.patch generic: 6.1: refresh hack patches 2023-05-22 22:28:16 +02:00
261-lib-arc4-unhide.patch generic: 6.1: refresh hack patches 2023-05-22 22:28:16 +02:00
280-rfkill-stubs.patch generic: 6.1: refresh hack patches 2023-05-22 22:28:16 +02:00
300-MIPS-r4k_cache-use-more-efficient-cache-blast.patch
321-powerpc_crtsavres_prereq.patch generic: 6.1: refresh hack patches 2023-05-22 22:28:16 +02:00
402-mtd-blktrans-call-add-disks-after-mtd-device.patch generic: 6.1: refresh hack patches 2023-05-22 22:28:16 +02:00
410-block-fit-partition-parser.patch generic: 6.1: refresh hack patches 2023-05-22 22:28:16 +02:00
420-mtd-support-OpenWrt-s-MTD_ROOTFS_ROOT_DEV.patch generic: 6.1: refresh hack patches 2023-05-22 22:28:16 +02:00
421-drivers-mtd-parsers-add-nvmem-support-to-cmdlinepart.patch
430-mtk-bmt-support.patch generic: 6.1: refresh hack patches 2023-05-22 22:28:16 +02:00
601-of_net-add-mac-address-ascii-support.patch
645-netfilter-connmark-introduce-set-dscpmark.patch generic: 6.1: refresh hack patches 2023-05-22 22:28:16 +02:00
650-netfilter-add-xt_FLOWOFFLOAD-target.patch generic: 6.1: refresh hack patches 2023-05-22 22:28:16 +02:00
651-wireless_mesh_header.patch generic: 6.1: refresh hack patches 2023-05-22 22:28:16 +02:00
660-fq_codel_defaults.patch generic: 6.1: refresh hack patches 2023-05-22 22:28:16 +02:00
661-kernel-ct-size-the-hashtable-more-adequately.patch generic: 6.1: refresh hack patches 2023-05-22 22:28:16 +02:00
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 generic: 6.1: refresh hack patches 2023-05-22 22:28:16 +02:00
720-net-phy-add-aqr-phys.patch generic: 6.1: refresh hack patches 2023-05-22 22:28:16 +02:00
721-net-add-packet-mangeling.patch kernel: bump 6.1 to 6.1.32 2023-06-06 20:08:30 +02:00
722-net-phy-aquantia-enable-AQR112-and-AQR412.patch generic: 6.1: refresh hack patches 2023-05-22 22:28:16 +02:00
723-net-phy-aquantia-fix-system-side-protocol-mi.patch generic: 6.1: refresh hack patches 2023-05-22 22:28:16 +02:00
724-net-phy-aquantia-Add-AQR113-driver-support.patch generic: 6.1: refresh hack patches 2023-05-22 22:28:16 +02:00
725-net-phy-aquantia-add-PHY_IDs-for-AQR112-variants.patch generic: 6.1: refresh hack patches 2023-05-22 22:28:16 +02:00
750-net-pcs-mtk-lynxi-workaround-2500BaseX-no-an.patch
760-net-usb-r8152-add-LED-configuration-from-OF.patch generic: 6.1: refresh hack patches 2023-05-22 22:28:16 +02:00
761-dt-bindings-net-add-RTL8152-binding-documentation.patch
765-mxl-gpy-control-LED-reg-from-DT.patch generic: 6.1: refresh hack patches 2023-05-22 22:28:16 +02:00
766-net-phy-mediatek-ge-add-LED-configuration-interface.patch
773-bgmac-add-srab-switch.patch generic: 6.1: refresh hack patches 2023-05-22 22:28:16 +02:00
780-usb-net-MeigLink_modem_support.patch generic: 6.1: refresh hack patches 2023-05-22 22:28:16 +02:00
790-SFP-GE-T-ignore-TX_FAULT.patch generic: 6.1: refresh hack patches 2023-05-22 22:28:16 +02:00
800-GPIO-add-named-gpio-exports.patch generic: 6.1: refresh hack patches 2023-05-22 22:28:16 +02:00
810-bcma-ssb-fallback-sprom.patch
901-debloat_sock_diag.patch generic: 6.1: refresh hack patches 2023-05-22 22:28:16 +02:00
902-debloat_proc.patch generic: 6.1: refresh hack patches 2023-05-22 22:28:16 +02:00
904-debloat_dma_buf.patch generic: 6.1: refresh hack patches 2023-05-22 22:28:16 +02:00
910-kobject_uevent.patch
911-kobject_add_broadcast_uevent.patch generic: 6.1: refresh hack patches 2023-05-22 22:28:16 +02:00
920-device_tree_cmdline.patch generic: 6.1: refresh hack patches 2023-05-22 22:28:16 +02:00
930-Revert-Revert-Revert-driver-core-Set-fw_devlink-on-b.patch generic: 6.1: refresh hack patches 2023-05-22 22:28:16 +02:00