mac80211: Fix MLO address translation for multiple bss case
authorSriram R <quic_srirrama@quicinc.com>
Thu, 8 Dec 2022 04:00:50 +0000 (09:30 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 10 Jan 2023 12:24:26 +0000 (13:24 +0100)
commitfa22b51ace8aa106267636f36170e940e676809c
tree5c09c5a2ff5fa03307ad3390c9d5d08f0a745016
parent0eb38842ada035d71bb06fb9116f26f24ee0f998
mac80211: Fix MLO address translation for multiple bss case

When multiple interfaces are present in the local interface
list, new skb copy is taken before rx processing except for
the first interface. The address translation happens each
time only on the original skb since the hdr pointer is not
updated properly to the newly created skb.

As a result frames start to drop in userspace when address
based checks or search fails.

Signed-off-by: Sriram R <quic_srirrama@quicinc.com>
Link: https://lore.kernel.org/r/20221208040050.25922-1-quic_srirrama@quicinc.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rx.c