summaryrefslogtreecommitdiffstats
path: root/include/net/inet6_connection_sock.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2015-09-25 16:39:13 +0200
committerDavid S. Miller <davem@davemloft.net>2015-09-25 22:00:37 +0200
commit30d50c61df94bc8d7700272ea09a716e0af8b58b (patch)
treeab3fd2ad8cabd017010c1748dd39c9b43b097b79 /include/net/inet6_connection_sock.h
parentipv6: constify ip6_dst_lookup_{flow|tail}() sock arguments (diff)
downloadlinux-30d50c61df94bc8d7700272ea09a716e0af8b58b.tar.xz
linux-30d50c61df94bc8d7700272ea09a716e0af8b58b.zip
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 'include/net/inet6_connection_sock.h')
-rw-r--r--include/net/inet6_connection_sock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/inet6_connection_sock.h b/include/net/inet6_connection_sock.h
index 6d539e4e5ba7..81d937e820c4 100644
--- a/include/net/inet6_connection_sock.h
+++ b/include/net/inet6_connection_sock.h
@@ -25,7 +25,7 @@ struct sockaddr;
int inet6_csk_bind_conflict(const struct sock *sk,
const struct inet_bind_bucket *tb, bool relax);
-struct dst_entry *inet6_csk_route_req(struct sock *sk, struct flowi6 *fl6,
+struct dst_entry *inet6_csk_route_req(const struct sock *sk, struct flowi6 *fl6,
const struct request_sock *req);
struct request_sock *inet6_csk_search_req(struct sock *sk,