diff options
| author | James Hughes <james.hughes@raspberrypi.org> | 2017-04-25 10:15:06 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-05-14 13:32:57 +0200 |
| commit | 59fcc1b357eb64448cfe978e1fe5525182704df1 (patch) | |
| tree | 4dc597b0eccc637d4c646089935b6cd0b99401d6 /net/ipv4/tcp_output.c | |
| parent | 0d89c7a27b1a13cc62c4c0a2869e8812252f92c1 (diff) | |
brcmfmac: Make skb header writable before use
commit 9cc4b7cb86cbcc6330a3faa8cd65268cd2d3c227 upstream.
The driver was making changes to the skb_header without
ensuring it was writable (i.e. uncloned).
This patch also removes some boiler plate header size
checking/adjustment code as that is also handled by the
skb_cow_header function used to make header writable.
Signed-off-by: James Hughes <james.hughes@raspberrypi.org>
Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions
