Skip to content
Commit e26c0946 authored by Felix Fietkau's avatar Felix Fietkau Committed by Johannes Berg
Browse files

wifi: 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.

Reported-by: default avatarThomas Hühn <thomas.huehn@hs-nordhausen.de>
Reported-by: default avatarNick Hainke <vincent@systemli.org>
Fixes: 986e43b1

 ("wifi: mac80211: fix receiving A-MSDU frames on mesh interfaces")
Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
Link: https://lore.kernel.org/r/20230326151709.17743-1-nbd@nbd.name
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent dd01579e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment