Vasily Averin 984e93b8e2 ipv6: ip6_finish_output2: set sk into newly allocated nskb
[ Upstream commit 2d85a1b31dde84038ea07ad825c3d8d3e71f4344 ]

skb_set_owner_w() should set sk not to old skb but to new nskb.

Fixes: 5796015fa968 ("ipv6: allocate enough headroom in ip6_finish_output2()")
Signed-off-by: Vasily Averin <vvs@virtuozzo.com>
Link: https://lore.kernel.org/r/70c0744f-89ae-1869-7e3e-4fa292158f4b@virtuozzo.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-31 08:16:13 +02:00
..
2020-07-24 17:12:41 -07:00
2019-07-27 14:23:48 -07:00
2021-07-14 16:56:25 +02:00
2020-03-29 22:30:57 -07:00
2021-06-03 09:00:48 +02:00
2020-04-18 15:04:27 -07:00