diff options
author | Arnaldo Carvalho de Melo <acme@mandriva.com> | 2005-08-27 08:06:35 +0200 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2005-08-30 01:11:38 +0200 |
commit | d6809c12b3334a929c39bf08ea63bd819e0500f7 (patch) | |
tree | 47fc3aa37c35ae6a83bc41b1ecf4a78c1189a00b /net/dccp/proto.c | |
parent | [DCCP]: Make the Debug Menu available when DCCP is statically linked too (diff) | |
download | linux-d6809c12b3334a929c39bf08ea63bd819e0500f7.tar.xz linux-d6809c12b3334a929c39bf08ea63bd819e0500f7.zip |
[DCCP]: Introduce dccp_wait_for_ccid and use it in dccp_write_xmit
This is not quite what I think we should have long term but improves
performance for now, so lets use it till we get CCID3 working well,
then we can think about using sk_write_queue, perhaps using some ideas
from Juwen Lai's old stack for 2.4.20.
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r-- | net/dccp/proto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dccp/proto.c b/net/dccp/proto.c index f97e92ea34f3..f4da6561e40c 100644 --- a/net/dccp/proto.c +++ b/net/dccp/proto.c @@ -261,7 +261,7 @@ int dccp_sendmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg, if (rc != 0) goto out_discard; - rc = dccp_write_xmit(sk, skb, len); + rc = dccp_write_xmit(sk, skb, &timeo); /* * XXX we don't use sk_write_queue, so just discard the packet. * Current plan however is to _use_ sk_write_queue with |