diff options
author | Eric Dumazet <edumazet@google.com> | 2015-09-25 16:39:10 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-09-25 22:00:37 +0200 |
commit | 6f9c961546699ff8bc5e1c1c52200616867ec68a (patch) | |
tree | bbc0ff11d4654d58f95dd667cdb0b560eadc2b00 /net/ipv4/inet_connection_sock.c | |
parent | tcp: constify tcp_openreq_init_rwin() (diff) | |
download | linux-6f9c961546699ff8bc5e1c1c52200616867ec68a.tar.xz linux-6f9c961546699ff8bc5e1c1c52200616867ec68a.zip |
inet: constify ip_route_output_flow() socket argument
Very soon, TCP stack might call inet_csk_route_req(), which
calls inet_csk_route_req() with an unlocked listener socket,
so we need to make sure ip_route_output_flow() is not trying to
change any field from its socket argument.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/inet_connection_sock.c')
0 files changed, 0 insertions, 0 deletions