diff options
author | Álvaro Fernández Rojas <noltari@gmail.com> | 2017-04-23 13:48:05 +0200 |
---|---|---|
committer | Álvaro Fernández Rojas <noltari@gmail.com> | 2017-04-23 13:51:55 +0200 |
commit | 2db05cd199999d9a3670e5287d067bdab0431f1a (patch) | |
tree | ba5e4ebf8709115ccdab51b22ff120a695388055 /target/linux/generic/patches-4.4/072-net-add-devm-version-of-alloc_etherdev_mqs-function.patch | |
parent | 50fcfd4b654999a1cca71d593000e3775cf2d740 (diff) | |
download | upstream-2db05cd199999d9a3670e5287d067bdab0431f1a.tar.gz upstream-2db05cd199999d9a3670e5287d067bdab0431f1a.tar.bz2 upstream-2db05cd199999d9a3670e5287d067bdab0431f1a.zip |
kernel: 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 Ethernet<->WiFi bridge for Raspberry Pi and probably other devices.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/generic/patches-4.4/072-net-add-devm-version-of-alloc_etherdev_mqs-function.patch')
0 files changed, 0 insertions, 0 deletions