diff options
author | Arnaldo Carvalho de Melo <acme@mandriva.com> | 2005-12-14 02:15:40 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-01-03 16:10:37 -0500 |
commit | ca304b6104ffdd120bb6687a88a0625e58bc71cd (patch) | |
tree | 99bdf631af245808459a0a956350b9388eada7fc /net/ipv6/inet6_connection_sock.c | |
parent | 8129765ac07c2455c927051e3a8b048b619b56ee (diff) |
[IPV6]: Introduce inet6_rsk()
And inet6_rsk_offset in inet_request_sock, for the same reasons as
inet_sock's pinfo6 member.
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.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 | 4 |
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 | ||