Skip to content
Commit c38c39bf authored by Cedric Izoard's avatar Cedric Izoard Committed by Johannes Berg
Browse files

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: d8da0b5d ("mac80211: Ensure enough headroom when forwarding mesh pkt")
Signed-off-by: default avatarCedric Izoard <cedric.izoard@ceva-dsp.com>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent eeb0d56f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment