Search Linux Wireless

Re: [PATCH] mac80211: always account for A-MSDU header changes

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

 



> From: Johannes Berg <johannes.berg@xxxxxxxxx>
> 
> In the error path of changing the SKB headroom of the second
> A-MSDU subframe, we would not account for the already-changed
> length of the first frame that just got converted to be in
> A-MSDU format and thus is a bit longer now.
> 
> Fix this by doing the necessary accounting.
> 
> It would be possible to reorder the operations, but that would
> make the code more complex (to calculate the necessary pad),
> and the headroom expansion should not fail frequently enough
> to make that worthwhile.
> 
> Fixes: 6e0456b54545 ("mac80211: add A-MSDU tx support")
> Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx>
> ---

Acked-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