diff options
author | Eric Dumazet <edumazet@google.com> | 2015-09-25 17:39:13 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-09-25 23:00:37 +0300 |
commit | 30d50c61df94bc8d7700272ea09a716e0af8b58b (patch) | |
tree | ab3fd2ad8cabd017010c1748dd39c9b43b097b79 /net/ipv6/inet6_connection_sock.c | |
parent | 3aef934f4d4b97532c333d9c1f5f73fb80aeb459 (diff) | |
download | linux-30d50c61df94bc8d7700272ea09a716e0af8b58b.tar.xz |
ipv6: constify inet6_csk_route_req() socket argument
socket is not modified, make it const so that callers can
do the same if they need.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/inet6_connection_sock.c')
-rw-r--r-- | net/ipv6/inet6_connection_sock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/inet6_connection_sock.c b/net/ipv6/inet6_connection_sock.c index 6927f3fb5597..91b7d33f508b 100644 --- a/net/ipv6/inet6_connection_sock.c +++ b/net/ipv6/inet6_connection_sock.c @@ -65,7 +65,7 @@ int inet6_csk_bind_conflict(const struct sock *sk, } EXPORT_SYMBOL_GPL(inet6_csk_bind_conflict); -struct dst_entry *inet6_csk_route_req(struct sock *sk, +struct dst_entry *inet6_csk_route_req(const struct sock *sk, struct flowi6 *fl6, const struct request_sock *req) { |