ipv6: use skb_expand_head in ip6_xmit
[ Upstream commit 0c9f227b ] 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:Vasily Averin <vvs@virtuozzo.com> Signed-off-by:
David S. Miller <davem@davemloft.net> (cherry picked from commit 0c9f227b) Signed-off-by:
Harshvardhan Jha <harshvardhan.j.jha@oracle.com> Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading