[SCTP]: Implement SCTP_FRAGMENT_INTERLEAVE socket option
authorVlad Yasevich <vladislav.yasevich@hp.com>
Fri, 20 Apr 2007 19:23:15 +0000 (12:23 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:27:59 +0000 (22:27 -0700)
commitb6e1331f3ce25a56edb956054eaf8011654686cb
tree63995f7e1de7d717df69cb4d138bce3fa4fe77ba
parentc95e939508e64863a1c5c73a9e1a908784e06820
[SCTP]: Implement SCTP_FRAGMENT_INTERLEAVE socket option

This option was introduced in draft-ietf-tsvwg-sctpsocket-13.  It
prevents head-of-line blocking in the case of one-to-many endpoint.
Applications enabling this option really must enable SCTP_SNDRCV event
so that they would know where the data belongs.  Based on an
earlier patch by Ivan Skytte Jørgensen.

Additionally, this functionality now permits multiple associations
on the same endpoint to enter Partial Delivery.  Applications should
be extra careful, when using this functionality, to track EOR indicators.

Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sctp/structs.h
include/net/sctp/ulpqueue.h
include/net/sctp/user.h
net/sctp/socket.c
net/sctp/ulpqueue.c