Search Linux Wireless

Re: [PATCH] mac80211: avoid kernel panic when building AMSDU from non-linear SKB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> From: Sara Sharon <sara.sharon@xxxxxxxxx>
> 
> 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 <sara.sharon@xxxxxxxxx>
> Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx>
> ---
>  net/mac80211/tx.c | 38 +++++++++++++++++++++-----------------
>  1 file changed, 21 insertions(+), 17 deletions(-)
> 

Reviewed-by: Lorenzo Bianconi <lorenzo.bianconi@xxxxxxxxxx>




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux