OSDN Git Service

ipv4: use skb_expand_head in ip_finish_output2
authorVasily Averin <vvs@virtuozzo.com>
Mon, 2 Aug 2021 08:52:35 +0000 (11:52 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Aug 2021 10:21:39 +0000 (11:21 +0100)
commit5678a59579647c4d9affe5e6544baf7645b41e4f
tree6aa79bd0421786188e922b6ee2d1fc909bca10b5
parent0c9f227bee11910a49e1d159abe102d06e3745d5
ipv4: use skb_expand_head in ip_finish_output2

Unlike skb_realloc_headroom, new helper skb_expand_head
does not allocate a new skb if possible.

Signed-off-by: Vasily Averin <vvs@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_output.c