summaryrefslogtreecommitdiff
path: root/drivers/ata
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2017-04-19 19:59:24 +0300
committerDavid S. Miller <davem@davemloft.net>2017-04-21 20:24:05 +0300
commitd4ca73591916b760478d2b04334d5dcadc028e9c (patch)
tree57cd58dfbbf01ec294e910ae3f0ad9f76ebbbd0a /drivers/ata
parentd532c1082f68176363ed766d09bf187616e282fe (diff)
downloadlinux-d4ca73591916b760478d2b04334d5dcadc028e9c.tar.xz
lan78xx: use skb_cow_head() to deal with cloned skbs
We need to ensure there is enough headroom to push extra header, but we also need to check if we are allowed to change headers. skb_cow_head() is the proper helper to deal with this. Fixes: 55d7de9de6c3 ("Microchip's LAN7800 family USB 2/3 to 10/100/1000 Ethernet device driver") Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: James Hughes <james.hughes@raspberrypi.org> Cc: Woojung Huh <woojung.huh@microchip.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ata')
0 files changed, 0 insertions, 0 deletions