tcp: constify tcp_v{4|6}_route_req() sock argument
authorEric Dumazet <edumazet@google.com>
Tue, 29 Sep 2015 14:42:50 +0000 (07:42 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Sep 2015 23:53:09 +0000 (16:53 -0700)
commitf964629e3338d9e5a78c9b354380d5a1e2fa4617
treeb81d02c2c7658e48482bfd0158bd7c0aa24d2111
parent3f684b4b1f1c86e3a6ac63389d1032e239fddd79
tcp: constify tcp_v{4|6}_route_req() sock argument

These functions do not change the listener socket.
Goal is to make sure tcp_conn_request() is not messing with
listener in a racy way.

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