diff options
author | Felix Fietkau <nbd@nbd.name> | 2023-03-26 17:17:09 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2023-03-30 11:19:15 +0200 |
commit | e26c0946a5c1aa4d27f8dfe78f2a72b4550df91f (patch) | |
tree | 8c3a2fc7234cf614a4f9a61e2d2b5c0ff238c28b /fs | |
parent | wifi: mac80211: fix the size calculation of ieee80211_ie_len_eht_cap() (diff) | |
download | linux-e26c0946a5c1aa4d27f8dfe78f2a72b4550df91f.tar.xz linux-e26c0946a5c1aa4d27f8dfe78f2a72b4550df91f.zip |
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: Thomas Hühn <thomas.huehn@hs-nordhausen.de>
Reported-by: Nick Hainke <vincent@systemli.org>
Fixes: 986e43b19ae9 ("wifi: mac80211: fix receiving A-MSDU frames on mesh interfaces")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Link: https://lore.kernel.org/r/20230326151709.17743-1-nbd@nbd.name
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions