firmware/build_patches/openwrt
Fabian Bläse 330ed1b52d build_patches: Add hack which fixes forwarding on a stacked bridge
Currently we are utilizing stacked bridges to keep configuration of DSA
devices as close as possible to swconfig devices. The lower bridge is
for configuration of the DSA hardware and is vlan-aware, while the upper
bridge is used to connect wireless interfaces to the client interface.

A packet arriving from the switch might have the offload_fwd_mark flag
set in the skb to prevent it from being sent to DSA ports, as this has
already been done in hardware.

However, this flag is not cleared before the skb is processed by the
upper bridge, which prevents it from being sent to any other ports of
that bridge. Therefore, communication is not possible between different
ports of that bridge, while communication with the bridge interface
itself is possible.

This issue affects both the layer3 and node variant, but due to the
layer 2 architecture of the node firmware, it is far more noticeable in
the node firmware, as it prevents ethernet clients from sending packets
to the gateway.

Work around this issue by clearing the offload_fwd_mark flag before
passing the skb up.

Fixes: #205

Signed-off-by: Fabian Bläse <fabian@blaese.de>
Reviewed-by: Johannes Kimmel <fff@bareminimum.eu>
2022-03-05 18:18:51 +01:00
..
0001-Disable-OpenWrt-config-migration-mechanisms.patch OpenWrt: bump to v21.02.0-rc1 2021-06-08 20:01:44 +02:00
0002-set-root-password.patch OpenWrt: bump to 19.07.3 2020-06-18 11:58:54 +02:00
0003-ntpd-host-as-string.patch OpenWrt: bump to v21.02.0 2021-09-02 17:10:48 +02:00
0004-build-remove-libustream-and-certs-from-default-packa.patch OpenWrt: remove libustream and certs from default packages 2021-06-08 20:08:58 +02:00
0010-ramips-add-missing-label-mac-device-mi-router-4a.patch Add support for Xiaomi Mi Router 4A (100m) 2021-09-02 17:04:49 +02:00
0050-Disable-ipq40xx-lan-wan-separation.patch Add support for AVM FritzBox 4040 2021-09-02 17:08:17 +02:00
0100-Add-hack-which-fixes-forwarding-on-a-stacked-bridge-.patch build_patches: Add hack which fixes forwarding on a stacked bridge 2022-03-05 18:18:51 +01:00