• J
    ath6kl: fix TCP corruption · 00b1edf1
    Jouni Malinen 提交于
    Commit 94e532d1 ("ath6kl: Fix system freeze under heavy data load")
    aligns the skb data without checking if the skb is cloned. Because of
    this ath6kl can corrupt the local TCP stack information that can result
    in TCP retransmission failing and TCP connections stalling.
    
    To avoid the corruption we need to copy the skb. Now the alignment
    in ath6kl_htc_tx_buf_align() doesn't corrupt TCP packets anymore (and is
    not even used for the cloned skb's that got copied since the alignment
    of the data is handled at the copy time).
    Signed-off-by: NJouni Malinen <jouni@qca.qualcomm.com>
    Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
    00b1edf1
txrx.c 34.5 KB