Vasily Averin f1260ff15a skbuff: introduce skb_expand_head()
Like skb_realloc_headroom(), new helper increases headroom of specified skb.
Unlike skb_realloc_headroom(), it does not allocate a new skb if possible;
copies skb->sk on new skb when as needed and frees original skb in case
of failures.

This helps to simplify ip[6]_finish_output2() and a few other similar cases.

Signed-off-by: Vasily Averin <vvs@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-08-03 11:21:39 +01:00
..
2020-04-20 12:43:24 -07:00
2021-07-22 00:52:04 -07:00
2021-08-03 11:21:39 +01:00
2021-07-29 15:06:49 +01:00
2020-06-18 20:46:23 -07:00