sctp: fix to retranmit at least one DATA chunk
commitbc4f841a05364b2572bcc266e9fd7e9cf5f06d5b
authorWei Yongjun <yjwei@cn.fujitsu.com>
Sat, 1 May 2010 02:38:53 +0000 (30 22:38 -0400)
committerVlad Yasevich <vladislav.yasevich@hp.com>
Sat, 1 May 2010 02:38:53 +0000 (30 22:38 -0400)
tree4d49c9d95422f5028b41920a960c8f4b33e4e76c
parent6429d3dc4bd6251b01c11b851e23a4d60f079e06
sctp: fix to retranmit at least one DATA chunk

While doing retranmit, if control chunk exists, such as
FORWARD TSN chunk, and the DATA chunk can not be bundled with
this control chunk because of PMTU limit, no DATA chunk
will be retranmitted in the current implementation. This
patch makes sure to retranmit at least one DATA chunk in this case.

Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
net/sctp/outqueue.c