commit | 8b73a07c8ffaa70683022566080f4df3328ea18d | [log] [tgz] |
---|---|---|
author | Gui Jianfeng <guijianfeng@cn.fujitsu.com> | Thu Apr 17 14:22:18 2008 -0700 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 17 14:22:18 2008 -0700 |
tree | 2892c383511fc73fe31e1dc93d1f6dcf8f316737 | |
parent | 2e5a3eaca386ce026f240c7b21e5c4958fcea946 [diff] |
SCTP: Initialize partial_bytes_acked to 0, when all of the data is acked. According to RFC4960 7.2.2, When all of the data transmitted by the sender has been acknowledged by the recerver, partial_bytes_acked is initialized to 0. This patch conforms to rfc requirement. Without this fix, cwnd might be error incremented. Signed-off-by: Gui Jianfeng <guijianfeng@cn.fujitsu.com> Acked-by: Vlad Yasevich <vladislav.yasevich@hp.com> Signed-off-by: David S. Miller <davem@davemloft.net>