linux-stable-rt/net/sctp
Vlad Yasevich 3888e9efc9 sctp: Mark the tsn as received after all allocations finish
If we don't have the buffer space or memory allocations fail,
the data chunk is dropped, but TSN is still reported as received.
This introduced a data loss that can't be recovered.  We should
only mark TSNs are received after memory allocations finish.
The one exception is the invalid stream identifier, but that's
due to user error and is reported back to the user.

This was noticed by Michael Tuexen.

Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-07-08 02:28:39 -07:00
..
Kconfig
Makefile
associola.c sctp: Correclty set changeover_active for SFR-CACC 2008-06-16 17:00:29 -07:00
auth.c
bind_addr.c [SCTP]: "list_for_each()" -> "list_for_each_entry()" where appropriate. 2008-04-12 18:54:24 -07:00
chunk.c
command.c
debug.c
endpointola.c
input.c
inqueue.c
ipv6.c sctp: Fix ECN markings for IPv6 2008-06-04 12:40:15 -07:00
objcnt.c [NET]: Fix heavy stack usage in seq_file output routines. 2008-04-24 01:02:16 -07:00
output.c sctp: Fix ECN markings for IPv6 2008-06-04 12:40:15 -07:00
outqueue.c sctp: Flush the queue only once during fast retransmit. 2008-06-04 12:39:36 -07:00
primitive.c
proc.c [SCTP]: "list_for_each()" -> "list_for_each_entry()" where appropriate. 2008-04-12 18:54:24 -07:00
protocol.c sctp: Correctly cleanup procfs entries upon failure. 2008-06-16 16:59:55 -07:00
sm_make_chunk.c sctp: Fix use of uninitialized pointer 2008-05-13 23:25:00 -07:00
sm_sideeffect.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2008-04-14 02:30:23 -07:00
sm_statefuns.c sctp: Mark the tsn as received after all allocations finish 2008-07-08 02:28:39 -07:00
sm_statetable.c
socket.c sctp: Make sure N * sizeof(union sctp_addr) does not overflow. 2008-06-20 22:04:34 -07:00
ssnmap.c
sysctl.c
transport.c sctp: Start T3-RTX timer when fast retransmitting lowest TSN 2008-06-04 12:39:11 -07:00
tsnmap.c
ulpevent.c sctp: Mark the tsn as received after all allocations finish 2008-07-08 02:28:39 -07:00
ulpqueue.c