inet: ip early demux should avoid request sockets
authorEric Dumazet <edumazet@google.com>
Mon, 16 Mar 2015 04:12:13 +0000 (21:12 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Mar 2015 19:55:29 +0000 (15:55 -0400)
commitf7e4eb03f9d9e2522bdd5107f37f9cf1af0bf0fa
treeb861e213b81c976dbe2fbae042eeed04aab55007
parent1d0ab253872cdd3d8e7913f59c266c7fd01771d0
inet: ip early demux should avoid request sockets

When a request socket is created, we do not cache ip route
dst entry, like for timewait sockets.

Let's use sk_fullsock() helper.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_ipv4.c
net/ipv6/tcp_ipv6.c