From: Thomas Graf Date: Fri, 8 Jul 2011 04:37:46 +0000 (+0000) Subject: sctp: ABORT if receive, reassmbly, or reodering queue is not empty while closing... X-Git-Tag: v3.0~41^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd4fcc704f30f2064ab30b5300d44d431e46db50;p=pandora-kernel.git sctp: ABORT if receive, reassmbly, or reodering queue is not empty while closing socket Trigger user ABORT if application closes a socket which has data queued on the socket receive queue or chunks waiting on the reassembly or ordering queue as this would imply data being lost which defeats the point of a graceful shutdown. This behavior is already practiced in TCP. We do not check the input queue because that would mean to parse all chunks on it to look for unacknowledged data which seems too much of an effort. Control chunks or duplicated chunks may also be in the input queue and should not be stopping a graceful shutdown. Signed-off-by: Thomas Graf Acked-by: Vlad Yasevich Signed-off-by: David S. Miller --- Reading git-diff-tree failed