OpenCloudOS-Kernel/net/sctp
Vlad Yasevich d0cf0d9940 [SCTP]: Do not interleave non-fragments when in partial delivery
The way partial delivery is currently implemnted, it is possible to
intereleave a message (either from another steram, or unordered) that
is not part of partial delivery process.  The only way to this is for
a message to not be a fragment and be 'in order' or unorderd for a
given stream.  This will result in bypassing the reassembly/ordering
queues where things live duing partial delivery, and the
message will be delivered to the socket in the middle of partial delivery.

This is a two-fold problem, in that:
1.  the app now must check the stream-id and flags which it may not
be doing.
2.  this clearing partial delivery state from the association and results
in ulp hanging.

This patch is a band-aid over a much bigger problem in that we
don't do stream interleave.

Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-04-18 14:16:09 -07:00
..
Kconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
associola.c [SCTP]: Reset some transport and association variables on restart 2007-03-20 00:09:45 -07:00
bind_addr.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
chunk.c [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
command.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
crc32c.c [NET] SCTP: Fix whitespace errors. 2007-02-10 23:20:11 -08:00
debug.c [NET] SCTP: Fix whitespace errors. 2007-02-10 23:20:11 -08:00
endpointola.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
input.c [NET] SCTP: Fix whitespace errors. 2007-02-10 23:20:11 -08:00
inqueue.c [NET] SCTP: Fix whitespace errors. 2007-02-10 23:20:11 -08:00
ipv6.c [SCTP] ipv6: inconsistent lock state ipv6_add_addr/sctp_v6_copy_addrlist 2007-03-08 14:43:41 -08:00
objcnt.c [NET] SCTP: Fix whitespace errors. 2007-02-10 23:20:11 -08:00
output.c [NET] SCTP: Fix whitespace errors. 2007-02-10 23:20:11 -08:00
outqueue.c [SCTP]: Fix connection hang/slowdown with PR-SCTP 2007-02-26 11:42:49 -08:00
primitive.c [NET] SCTP: Fix whitespace errors. 2007-02-10 23:20:11 -08:00
proc.c [PATCH] mark struct file_operations const 8 2007-02-12 09:48:46 -08:00
protocol.c [NET] SCTP: Fix whitespace errors. 2007-02-10 23:20:11 -08:00
sm_make_chunk.c Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2007-02-11 11:38:13 -08:00
sm_sideeffect.c [NET] SCTP: Fix whitespace errors. 2007-02-10 23:20:11 -08:00
sm_statefuns.c [SCTP]: Increment error counters on user requested HBs. 2007-03-20 00:09:44 -07:00
sm_statetable.c [NET] SCTP: Fix whitespace errors. 2007-02-10 23:20:11 -08:00
socket.c [SCTP]: Unmap v4mapped addresses during SCTP_BINDX_REM_ADDR operation. 2007-04-17 13:13:42 -07:00
ssnmap.c [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
sysctl.c [PATCH] sysctl: remove insert_at_head from register_sysctl 2007-02-14 08:09:59 -08:00
transport.c [SCTP]: Correctly reset ssthresh when restarting association 2007-03-22 12:26:25 -07:00
tsnmap.c [NET] SCTP: Fix whitespace errors. 2007-02-10 23:20:11 -08:00
ulpevent.c [NET] SCTP: Fix whitespace errors. 2007-02-10 23:20:11 -08:00
ulpqueue.c [SCTP]: Do not interleave non-fragments when in partial delivery 2007-04-18 14:16:09 -07:00