From: David Miller Date: Fri, 08 Jul 2011 16:53:18 +0000 Subject: Re: [PATCHv3] sctp: ABORT if receive, reassmbly, or reodering Message-Id: <20110708.095318.419802655953112570.davem@davemloft.net> List-Id: References: <4E170B00.9080406@hp.com> <20110708143746.GB24249@canuck.infradead.org> <4E1733CF.5090004@hp.com> In-Reply-To: <4E1733CF.5090004@hp.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: vladislav.yasevich@hp.com Cc: netdev@vger.kernel.org, yjwei@cn.fujitsu.com, sri@us.ibm.com, linux-sctp@vger.kernel.org From: Vladislav Yasevich Date: Fri, 08 Jul 2011 12:43:59 -0400 > On 07/08/2011 10:37 AM, Thomas Graf wrote: >> 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 Applied, thanks.