diff options
author | Denis V. Lunev <den@openvz.org> | 2008-02-29 14:43:03 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-02-29 14:43:03 -0500 |
commit | fd80eb942ad9761f241c9b287b3b9a342b20690d (patch) | |
tree | 664b7a2351dab82419ccf7fa91e6f89ede52065c /include/net/request_sock.h | |
parent | 58fbbed4fbc0094fc808a568fe99a915f85402ee (diff) |
[INET]: Remove struct dst_entry *dst from request_sock_ops.rtx_syn_ack.
It looks like dst parameter is used in this API due to historical
reasons. Actually, it is really used in the direct call to
tcp_v4_send_synack only. So, create a wrapper for tcp_v4_send_synack
and remove dst from rtx_syn_ack.
Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/request_sock.h')
-rw-r--r-- | include/net/request_sock.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/net/request_sock.h b/include/net/request_sock.h index cff4608179c1..040780add355 100644 --- a/include/net/request_sock.h +++ b/include/net/request_sock.h | |||
@@ -31,8 +31,7 @@ struct request_sock_ops { | |||
31 | int obj_size; | 31 | int obj_size; |
32 | struct kmem_cache *slab; | 32 | struct kmem_cache *slab; |
33 | int (*rtx_syn_ack)(struct sock *sk, | 33 | int (*rtx_syn_ack)(struct sock *sk, |
34 | struct request_sock *req, | 34 | struct request_sock *req); |
35 | struct dst_entry *dst); | ||
36 | void (*send_ack)(struct sk_buff *skb, | 35 | void (*send_ack)(struct sk_buff *skb, |
37 | struct request_sock *req); | 36 | struct request_sock *req); |
38 | void (*send_reset)(struct sock *sk, | 37 | void (*send_reset)(struct sock *sk, |