]> err.no Git - linux-2.6/commitdiff
[DCCP]: Send a DATAACK packet when we have a TIMESTAMP_ECHO pending
authorArnaldo Carvalho de Melo <acme@mandriva.com>
Wed, 24 Aug 2005 04:50:45 +0000 (21:50 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 29 Aug 2005 23:04:43 +0000 (16:04 -0700)
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dccp/output.c

index 630ca774102264b90677e8ea711d184bdc47514f..f96dedd3ad5efc83c4fe16309be7dec6e37fee62 100644 (file)
@@ -171,6 +171,7 @@ int dccp_write_xmit(struct sock *sk, struct sk_buff *skb, const int len)
                         * dccps_ack_pending or use icsk.
                         */
                } else if (inet_csk_ack_scheduled(sk) ||
+                          dp->dccps_timestamp_echo != 0 ||
                           (dp->dccps_options.dccpo_send_ack_vector &&
                            ap->dccpap_buf_ackno != DCCP_MAX_SEQNO + 1 &&
                            ap->dccpap_ack_seqno == DCCP_MAX_SEQNO + 1))