]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit16044cc2401b769e6afe9f38b2ea9e28baa6e349
treeb81d02c2c7658e48482bfd0158bd7c0aa24d2111
parentdc7d5324015ed780860499ea7976e5d9e1d17c54
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