]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: Fix headroom allocation when forwarding mesh pkt
authorCedric Izoard <Cedric.Izoard@ceva-dsp.com>
Wed, 11 Jan 2017 14:39:07 +0000 (14:39 +0000)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 11 Jan 2017 15:07:29 +0000 (16:07 +0100)
commit31f9497c6bf72634994da4463b82b3a97fba33b5
tree3fbaccdab39ea70409c0d480d68db2a5f47be0ed
parentc6d86d03ffec0429ae7de33000f9355735ab9b45
mac80211: Fix headroom allocation when forwarding mesh pkt

This patch fix issue introduced by my previous commit that
tried to ensure enough headroom was present, and instead
broke it.

When forwarding mesh pkt, mac80211 may also add security header,
and it must therefore be taken into account in the needed headroom.

Fixes: 5b34ec2f459d ("mac80211: Ensure enough headroom when forwarding mesh pkt")
Signed-off-by: Cedric Izoard <cedric.izoard@ceva-dsp.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rx.c