]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: allocate tailroom for forwarded mesh packets
authorFelix Fietkau <nbd@nbd.name>
Fri, 22 Feb 2019 12:21:15 +0000 (13:21 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 22 Feb 2019 13:00:40 +0000 (14:00 +0100)
commit52acfd7f413302caef3cc15fe9fbaae74fc7c6f2
treedef295a74f625bd48a3bddd55f2e25b7ce01d2ee
parent580040e3cc97d490d4c667526612b40af9a10495
mac80211: allocate tailroom for forwarded mesh packets

Forwarded packets enter the tx path through ieee80211_add_pending_skb,
which skips the ieee80211_skb_resize call.
Fixes WARN_ON in ccmp_encrypt_skb and resulting packet loss.

Cc: stable@vger.kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rx.c