diff options
author | Arnaldo Carvalho de Melo <acme@mandriva.com> | 2005-08-29 01:15:54 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2005-08-29 19:13:46 -0400 |
commit | c530cfb1ce1e8f230744c3f3bd86771f50725053 (patch) | |
tree | 8309c7803ccb3cbbe07e610e6a0e5580a63d83e2 /net/dccp/dccp.h | |
parent | a84ffe430342db6ee585a5038f3242a6b4112d69 (diff) |
[CCID3]: Call sk->sk_write_space(sk) when receiving a feedback packet
This makes the send rate calculations behave way more closely to what
is specified, with the jitter previously seen on x and x_recv
disappearing completely on non lossy setups.
This resembles the tcp_data_snd_check code, that possibly we'll end up
using in DCCP as well, perhaps moving this code to
inet_connection_sock.
For now I'm doing the simplest implementation tho.
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/dccp.h')
-rw-r--r-- | net/dccp/dccp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/dccp/dccp.h b/net/dccp/dccp.h index 5cd9e794bbe2..33456c0d5937 100644 --- a/net/dccp/dccp.h +++ b/net/dccp/dccp.h | |||
@@ -127,6 +127,7 @@ extern void dccp_send_sync(struct sock *sk, const u64 seq, | |||
127 | const enum dccp_pkt_type pkt_type); | 127 | const enum dccp_pkt_type pkt_type); |
128 | 128 | ||
129 | extern int dccp_write_xmit(struct sock *sk, struct sk_buff *skb, long *timeo); | 129 | extern int dccp_write_xmit(struct sock *sk, struct sk_buff *skb, long *timeo); |
130 | extern void dccp_write_space(struct sock *sk); | ||
130 | 131 | ||
131 | extern void dccp_init_xmit_timers(struct sock *sk); | 132 | extern void dccp_init_xmit_timers(struct sock *sk); |
132 | static inline void dccp_clear_xmit_timers(struct sock *sk) | 133 | static inline void dccp_clear_xmit_timers(struct sock *sk) |