mac80211: fix receiving mesh packets in forwarding=0 networks
authorFelix Fietkau <nbd@nbd.name>
Sun, 26 Mar 2023 15:19:03 +0000 (17:19 +0200)
committerFelix Fietkau <nbd@nbd.name>
Sun, 26 Mar 2023 15:19:39 +0000 (17:19 +0200)
commit3ab670b24eee8adef77a71d9d11ee362c1668b26
tree0f3abbe38ce22fe2d63875cade6a6acc0e6482f8
parentde3d60b982c7b8e1821b90b312db57287e74ede3
mac80211: fix receiving mesh packets in forwarding=0 networks

When forwarding is set to 0, frames are typically sent with ttl=1.
Move the ttl decrement check below the check for local receive in order to
fix packet drops.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/kernel/mac80211/patches/subsys/329-wifi-mac80211-fix-receiving-mesh-packets-in-forwardi.patch [new file with mode: 0644]