android_kernel_xiaomi_sm8350/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
..
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
command.c
crc32c.c
debug.c
endpointola.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
input.c
inqueue.c
ipv6.c [SCTP] ipv6: inconsistent lock state ipv6_add_addr/sctp_v6_copy_addrlist 2007-03-08 14:43:41 -08:00
Kconfig
Makefile
objcnt.c
output.c
outqueue.c [SCTP]: Fix connection hang/slowdown with PR-SCTP 2007-02-26 11:42:49 -08:00
primitive.c
proc.c [PATCH] mark struct file_operations const 8 2007-02-12 09:48:46 -08:00
protocol.c
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
sm_statefuns.c [SCTP]: Increment error counters on user requested HBs. 2007-03-20 00:09:44 -07:00
sm_statetable.c
socket.c [SCTP]: Unmap v4mapped addresses during SCTP_BINDX_REM_ADDR operation. 2007-04-17 13:13:42 -07:00
ssnmap.c
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
ulpevent.c
ulpqueue.c [SCTP]: Do not interleave non-fragments when in partial delivery 2007-04-18 14:16:09 -07:00