ipv6: inet6_sk() should use sk_fullsock()
authorEric Dumazet <edumazet@google.com>
Mon, 5 Oct 2015 04:08:09 +0000 (21:08 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Oct 2015 09:45:25 +0000 (02:45 -0700)
commite7eadb4de9e645e1b34539dc4128240b1e5f71dc
tree6f8ddb94fe22732cd4017724447f3cc1fca0a4f6
parentcaf3f2676aaad395903d24a54e22f8ac4bc4823d
ipv6: inet6_sk() should use sk_fullsock()

SYN_RECV & TIMEWAIT sockets are not full blown, they do not have a pinet6
pointer.

Fixes: ca6fb0651883 ("tcp: attach SYNACK messages to request sockets instead of listener")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/ipv6.h