aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-4.4/073-v4.10-0001-net-bgmac-allocate-struct-bgmac-just-once-don-t-copy.patch
diff options
context:
space:
mode:
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
commit2db05cd199999d9a3670e5287d067bdab0431f1a (patch)
treeba5e4ebf8709115ccdab51b22ff120a695388055 /target/linux/generic/patches-4.4/073-v4.10-0001-net-bgmac-allocate-struct-bgmac-just-once-don-t-copy.patch
parent50fcfd4b654999a1cca71d593000e3775cf2d740 (diff)
downloadupstream-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/073-v4.10-0001-net-bgmac-allocate-struct-bgmac-just-once-don-t-copy.patch')
0 files changed, 0 insertions, 0 deletions