Skip to content
Snippets Groups Projects
Commit 2db05cd1 authored by Álvaro Fernández Rojas's avatar Álvaro Fernández Rojas
Browse files

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: default avatarÁlvaro Fernández Rojas <noltari@gmail.com>
parent 50fcfd4b
No related branches found
No related tags found
No related merge requests found
Showing
with 534 additions and 0 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment