Commit 7c3ceb4f authored by Committed by David S. MillerBrowse files
[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 <firstname.lastname@example.org> Acked-by: Mark Butler <email@example.com> Acked-by: Vlad Yasevich <firstname.lastname@example.org> Signed-off-by: Sridhar Samudrala <email@example.com> Signed-off-by: David S. Miller <firstname.lastname@example.org>