-
由 Helmut Schaa 提交于
ath9k_htc adds padding between the 802.11 header and the payload during TX by moving the header. When handing the frame back to mac80211 for TX status handling the header is not moved back into its original position. This can result in a too small skb headroom when entering ath9k_htc again (due to a soft retransmission for example) causing an skb_under_panic oops. Fix this by moving the 802.11 header back into its original position before returning the frame to mac80211 as other drivers like rt2x00 or ath5k do. Reported-by: NMarc Kleine-Budde <mkl@blackshift.org> Signed-off-by: NHelmut Schaa <helmut.schaa@googlemail.com> Tested-by: NMarc Kleine-Budde <mkl@blackshift.org> Signed-off-by: NMarc Kleine-Budde <mkl@blackshift.org> Cc: stable@vger.kernel.org Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
d2e9fc14