android_kernel_xiaomi_sm8350/include/net/sctp
Neil Horman 7c3ceb4fb9 [SCTP]: Allow spillover of receive buffer to avoid deadlock.
This patch fixes a deadlock situation in the receive path by allowing
temporary spillover of the receive buffer.

- If the chunk we receive has a tsn that immediately follows the ctsn,
  accept it even if we run out of receive buffer space and renege data with
  higher TSNs.
- Once we accept one chunk in a packet, accept all the remaining chunks
  even if we run out of receive buffer space.

Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
Acked-by: Mark Butler <butlerm@middle.net>
Acked-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-05-05 17:02:09 -07:00
..
command.h [SCTP]: Fix ia64 NaT consumption fault with sctp_sideffect commands. 2005-11-11 16:07:40 -08:00
constants.h
sctp.h [SCTP]: Fix couple of races between sctp_peeloff() and sctp_rcv(). 2006-01-17 11:56:26 -08:00
sm.h [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
structs.h [SCTP]: Allow spillover of receive buffer to avoid deadlock. 2006-05-05 17:02:09 -07:00
tsnmap.h
ulpevent.h [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
ulpqueue.h [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
user.h [SCTP]: Add support for SCTP_DELAYED_ACK_TIME socket option. 2006-01-03 13:11:13 -08:00