netfilter: use skb_to_full_sk in ip6_route_me_harder
authorEric Dumazet <edumazet@google.com>
Sun, 25 Feb 2018 19:49:07 +0000 (11:49 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Mar 2018 09:54:24 +0000 (10:54 +0100)
commit9131a1b3d9c8fc22c3c2f5115f06c7c4332860a4
tree3489125ce6c5546b59e14c25b8567685ad25586f
parent39f154faecc23e42190a41e6225060c39092d1f8
netfilter: use skb_to_full_sk in ip6_route_me_harder

commit 7d98386d55a5afaa65de77e1e9197edeb8a42079 upstream.

For some reason, Florian forgot to apply to ip6_route_me_harder
the fix that went in commit 29e09229d9f2 ("netfilter: use
skb_to_full_sk in ip_route_me_harder")

Fixes: ca6fb0651883 ("tcp: attach SYNACK messages to request sockets instead of listener") 
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reported-by: syzbot <syzkaller@googlegroups.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/ipv6/netfilter.c