]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: fix handling of wierd MSDU chaining cases
authorMichal Kazior <michal.kazior@tieto.com>
Wed, 14 May 2014 13:23:31 +0000 (16:23 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 14 May 2014 13:41:16 +0000 (16:41 +0300)
commit04fc4fd1224ea8f0e2417b8d84f13e7e346b74bf
treed65f138a9b97e82c7ce2857ed4e82e820be49c0f
parent7b1eec2672d51e2f948e70f5de5caee8f81a4513
ath10k: fix handling of wierd MSDU chaining cases

Apparently firmware can sometimes report a
sequence with the first rx descriptor saying it's
not the last MSDU. In that case msdu_chaining
value could be overwritten saying it's not a
chained MSDU. This in turn led to skb_push panic
as the frame could be treated as an A-MSDU instead
of a chained MSDU.

Reported-By: Avery Pennarun <apenwarr@gmail.com>
Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/htt_rx.c