commit | 1ed760c9aca0b69c5b24c6fd454bcc573a01df99 | [log] [tgz] |
---|---|---|
author | Arend Van Spriel <arend.vanspriel@broadcom.com> | Tue Apr 25 10:10:08 2017 +0100 |
committer | Kalle Valo <kvalo@qca.qualcomm.com> | Fri May 19 10:47:04 2017 +0300 |
tree | a93bf10ac52ba52d284524b482afb88b1d223640 | |
parent | 4dcb78085d569438e9616bf86d2a64e1acdc5e4a [diff] |
ath6kl: assure headroom of skbuff is writable in .start_xmit() An issue was found brcmfmac driver in which a skbuff in .start_xmit() callback was actually cloned. So instead of checking for sufficient headroom it should also be writable. Hence use skb_cow_head() to check and expand the headroom appropriately. Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com> Tested-by: Steve deRosier <derosier@gmail.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>