diff options
author | Eric Dumazet <edumazet@google.com> | 2015-09-25 07:39:11 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-09-25 13:00:37 -0700 |
commit | e5895bc600ccba1fde4ea0741813f9c33b5b4021 (patch) | |
tree | ca8ac225bd07d3f213f9fc1acbce95e6c730e233 /net | |
parent | 6f9c961546699ff8bc5e1c1c52200616867ec68a (diff) | |
download | lwn-e5895bc600ccba1fde4ea0741813f9c33b5b4021.tar.gz lwn-e5895bc600ccba1fde4ea0741813f9c33b5b4021.zip |
inet: constify inet_csk_route_req() socket argument
This is used by TCP listener core, and listener socket shall
not be modified by inet_csk_route_req().
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/ipv4/inet_connection_sock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/inet_connection_sock.c b/net/ipv4/inet_connection_sock.c index 134957159c27..ad087c14f020 100644 --- a/net/ipv4/inet_connection_sock.c +++ b/net/ipv4/inet_connection_sock.c @@ -408,7 +408,7 @@ void inet_csk_reset_keepalive_timer(struct sock *sk, unsigned long len) } EXPORT_SYMBOL(inet_csk_reset_keepalive_timer); -struct dst_entry *inet_csk_route_req(struct sock *sk, +struct dst_entry *inet_csk_route_req(const struct sock *sk, struct flowi4 *fl4, const struct request_sock *req) { |