summaryrefslogtreecommitdiffstats
path: root/net/irda/af_irda.c
diff options
context:
space:
mode:
authorVlad Yasevich2007-04-18 23:11:06 +0200
committerDavid S. Miller2007-04-18 23:16:09 +0200
commitd0cf0d9940ef27b46fcbbd9e0cc8427c30fe05eb (patch)
tree0ac9e4b58b7a14c1215bf0516e8adf8e065cd081 /net/irda/af_irda.c
parent[IPSEC] af_key: Fix thinko in pfkey_xfrm_policy2msg() (diff)
downloadkernel-qcow2-linux-d0cf0d9940ef27b46fcbbd9e0cc8427c30fe05eb.tar.gz
kernel-qcow2-linux-d0cf0d9940ef27b46fcbbd9e0cc8427c30fe05eb.tar.xz
kernel-qcow2-linux-d0cf0d9940ef27b46fcbbd9e0cc8427c30fe05eb.zip
[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>
Diffstat (limited to 'net/irda/af_irda.c')
0 files changed, 0 insertions, 0 deletions