skb_cow (9) - Linux Man Pages
skb_cow: copy header of skb when it is required
skb_cow - copy header of skb when it is required
int skb_cow(struct sk_buff
*skb, unsigned int headroom);
- buffer to cow
- needed headroom
If the skb passed lacks sufficient headroom or its data part is shared, data is reallocated. If reallocation fails, an error is returned and original skb is not changed.