vrf: use skb_expand_head in vrf_finish_output
authorVasily Averin <vvs@virtuozzo.com>
Mon, 2 Aug 2021 08:52:40 +0000 (11:52 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Aug 2021 10:21:39 +0000 (11:21 +0100)
commit14ee70ca89e62d5888ba1bb3d8a519f233739fe8
treea0bf40df8ce66427bebf041712af83fc0f089019
parent5678a59579647c4d9affe5e6544baf7645b41e4f
vrf: use skb_expand_head in vrf_finish_output

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>
drivers/net/vrf.c