]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: fix to retranmit at least one DATA chunk
authorWei Yongjun <yjwei@cn.fujitsu.com>
Sat, 1 May 2010 02:38:53 +0000 (22:38 -0400)
committerVlad Yasevich <vladislav.yasevich@hp.com>
Sat, 1 May 2010 02:38:53 +0000 (22:38 -0400)
commitfd287a8d813bd4c32d8ff3947644f2b10c61f2b4
tree4d49c9d95422f5028b41920a960c8f4b33e4e76c
parent6f4226a6b49b509aa9c1e7fc5856108a4f8fce2e
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