aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/inet6_connection_sock.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6/inet6_connection_sock.c')
-rw-r--r--net/ipv6/inet6_connection_sock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv6/inet6_connection_sock.c b/net/ipv6/inet6_connection_sock.c
index 04ff44344f90..fe874eeaa40c 100644
--- a/net/ipv6/inet6_connection_sock.c
+++ b/net/ipv6/inet6_connection_sock.c
@@ -61,7 +61,7 @@ struct request_sock *inet6_csk_search_req(const struct sock *sk,
61 lopt->nr_table_entries)]; 61 lopt->nr_table_entries)];
62 (req = *prev) != NULL; 62 (req = *prev) != NULL;
63 prev = &req->dl_next) { 63 prev = &req->dl_next) {
64 const struct tcp6_request_sock *treq = tcp6_rsk(req); 64 const struct inet6_request_sock *treq = inet6_rsk(req);
65 65
66 if (inet_rsk(req)->rmt_port == rport && 66 if (inet_rsk(req)->rmt_port == rport &&
67 req->rsk_ops->family == AF_INET6 && 67 req->rsk_ops->family == AF_INET6 &&
@@ -85,7 +85,7 @@ void inet6_csk_reqsk_queue_hash_add(struct sock *sk,
85{ 85{
86 struct inet_connection_sock *icsk = inet_csk(sk); 86 struct inet_connection_sock *icsk = inet_csk(sk);
87 struct listen_sock *lopt = icsk->icsk_accept_queue.listen_opt; 87 struct listen_sock *lopt = icsk->icsk_accept_queue.listen_opt;
88 const u32 h = inet6_synq_hash(&tcp6_rsk(req)->rmt_addr, 88 const u32 h = inet6_synq_hash(&inet6_rsk(req)->rmt_addr,
89 inet_rsk(req)->rmt_port, 89 inet_rsk(req)->rmt_port,
90 lopt->hash_rnd, lopt->nr_table_entries); 90 lopt->hash_rnd, lopt->nr_table_entries);
91 91