Commit 4132c4ad authored by Vasily Averin's avatar Vasily Averin Committed by Greg Kroah-Hartman
Browse files

ipv6: use skb_expand_head in ip6_finish_output2



[ Upstream commit e415ed3a ]

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

Additionally this patch replaces commonly used dereferencing with variables.

Signed-off-by: default avatarVasily Averin <vvs@virtuozzo.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
(cherry picked from commit e415ed3a)
Signed-off-by: default avatarHarshvardhan Jha <harshvardhan.j.jha@oracle.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 23f95bbe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment