wifi: cfg80211: fix receiving mesh packets without RFC1042 header
authorFelix Fietkau <nbd@nbd.name>
Tue, 11 Jul 2023 11:50:52 +0000 (13:50 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 13 Jul 2023 01:03:40 +0000 (18:03 -0700)
commitfec3ebb5ed299ac3a998f011c380f2ded47f4866
treef432a0eabddb8e826f8455f58ed94639c587b1b9
parent4f4626cd049576af1276c7568d5b44eb3f7bb1b1
wifi: cfg80211: fix receiving mesh packets without RFC1042 header

Fix ethernet header length field after stripping the mesh header

Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/all/CT5GNZSK28AI.2K6M69OXM9RW5@syracuse/
Fixes: 986e43b19ae9 ("wifi: mac80211: fix receiving A-MSDU frames on mesh interfaces")
Reported-and-tested-by: Nicolas Escande <nico.escande@gmail.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Link: https://lore.kernel.org/r/20230711115052.68430-1-nbd@nbd.name
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/wireless/util.c