]> err.no Git - linux-2.6/commit
SCTP: Assign stream sequence numbers to the entire message
authorVlad Yasevich <vladislav.yasevich@hp.com>
Thu, 2 Aug 2007 20:51:42 +0000 (16:51 -0400)
committerVlad Yasevich <vladislav.yasevich@hp.com>
Wed, 29 Aug 2007 17:34:34 +0000 (13:34 -0400)
commitab3e5e7b65dde661f5eb86b445496c5967283333
treec371de81c5b7de518360ba0af337627e21d43d24
parentea2dfb3733d53ac98b17756435d1f99e25490357
SCTP: Assign stream sequence numbers to the entire message

Currently we only assign the sequence number to a packet that
we are about to transmit.  This however breaks the Partial
Reliability extensions, because it's possible for us to
never transmit a packet, i.e. it expires before we get to send
it.  In such cases, if the message contained multiple SCTP
fragments, and we did manage to send the first part of the
message, the Stream sequence numbers would get into invalid
state and cause receiver to stall.

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