Skip to content
Commit 2d85a1b3 authored by Vasily Averin's avatar Vasily Averin Committed by Jakub Kicinski
Browse files

ipv6: ip6_finish_output2: set sk into newly allocated nskb

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

Fixes: 5796015f

 ("ipv6: allocate enough headroom in ip6_finish_output2()")
Signed-off-by: default avatarVasily Averin <vvs@virtuozzo.com>
Link: https://lore.kernel.org/r/70c0744f-89ae-1869-7e3e-4fa292158f4b@virtuozzo.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 6f20c8ad
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment