]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ath11k: Fix skb_panic observed during msdu coalescing
authorSriram R <srirrama@codeaurora.org>
Wed, 27 Nov 2019 16:30:04 +0000 (18:30 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 29 Nov 2019 07:35:58 +0000 (09:35 +0200)
commitd2f510fa0103a789b7fd310dbf14e0effa2f1fdf
treeecaaab76693fbc5396e64ebee723e07249586d49
parentd12ac6c47a32b720d77181b8c2915be43c5be2d0
ath11k: Fix skb_panic observed during msdu coalescing

skb_panic is hit during msdu coalescing whenever
enough tailroom is not allocated based on the remaining
msdu length which is spread across in different rx buffers.

Compute the extra length for resizing the skb based on
the total msdu length and the msdu length of the first buffer.

Signed-off-by: Sriram R <srirrama@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath11k/dp_rx.c