[CCID3]: Call sk->sk_write_space(sk) when receiving a feedback packet
authorArnaldo Carvalho de Melo <acme@mandriva.com>
Mon, 29 Aug 2005 05:15:54 +0000 (02:15 -0300)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 29 Aug 2005 23:13:46 +0000 (16:13 -0700)
commitc530cfb1ce1e8f230744c3f3bd86771f50725053
tree8309c7803ccb3cbbe07e610e6a0e5580a63d83e2
parenta84ffe430342db6ee585a5038f3242a6b4112d69
[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>
net/dccp/ccids/ccid3.c
net/dccp/dccp.h
net/dccp/ipv4.c
net/dccp/output.c