]> err.no Git - linux-2.6/commit
SCTP: Fix PR-SCTP to deliver all the accumulated ordered chunks
authorVlad Yasevich <vladislav.yasevich@hp.com>
Fri, 9 Nov 2007 16:43:41 +0000 (11:43 -0500)
committerVlad Yasevich <vladislav.yasevich@hp.com>
Fri, 9 Nov 2007 16:43:41 +0000 (11:43 -0500)
commitcd3ae8e61570b55e32864c5f9e50085aa67126e9
treeaabfdcffab94d0df217b2f24992c5aa69df6e5f7
parent7ab9080467040054e27ae54d67cc185f24d881ae
SCTP: Fix PR-SCTP to deliver all the accumulated ordered chunks

There is a small bug when we process a FWD-TSN.  We'll deliver
anything upto the current next expected SSN.  However, if the
next expected is already in the queue, it will take another
chunk to trigger its delivery.  The fix is to simply check
the current queued SSN is the next expected one.

Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
net/sctp/ulpqueue.c