summaryrefslogtreecommitdiff
path: root/drivers/hwmon/f71805f.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2017-04-19 19:59:25 +0300
committerDavid S. Miller <davem@davemloft.net>2017-04-21 20:24:06 +0300
commit6bc6895bdd6744e0136eaa4a11fbdb20a7db4e40 (patch)
treeb110925dec762d275560dc72e189a8129d536159 /drivers/hwmon/f71805f.c
parentd4ca73591916b760478d2b04334d5dcadc028e9c (diff)
downloadlinux-6bc6895bdd6744e0136eaa4a11fbdb20a7db4e40.tar.xz
ch9200: 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: 4a476bd6d1d9 ("usbnet: New driver for QinHeng CH9200 devices") Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: James Hughes <james.hughes@raspberrypi.org> Cc: Matthew Garrett <mjg59@srcf.ucam.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/hwmon/f71805f.c')
0 files changed, 0 insertions, 0 deletions