> From: Sara Sharon <[email protected]> > > When building building AMSDU from non-linear SKB, we hit a > kernel panic when trying to push the padding to the tail. > Instead, put the padding at the head of the next subframe. > This also fixes the A-MSDU subframes to not have the padding > accounted in the length field and not have pad at all for > the last subframe, both required by the spec. > > Fixes: 6e0456b54545 ("mac80211: add A-MSDU tx support") > Signed-off-by: Sara Sharon <[email protected]> > Signed-off-by: Johannes Berg <[email protected]> > --- > net/mac80211/tx.c | 38 +++++++++++++++++++++----------------- > 1 file changed, 21 insertions(+), 17 deletions(-) >
Reviewed-by: Lorenzo Bianconi <[email protected]>
