[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20110708.095318.419802655953112570.davem@davemloft.net>
Date: Fri, 08 Jul 2011 09:53:18 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: vladislav.yasevich@...com
Cc: netdev@...r.kernel.org, yjwei@...fujitsu.com, sri@...ibm.com,
linux-sctp@...r.kernel.org
Subject: Re: [PATCHv3] sctp: ABORT if receive, reassmbly, or reodering
queue is not empty while closing socket
From: Vladislav Yasevich <vladislav.yasevich@...com>
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 <tgraf@...radead.org>
>
> Acked-by: Vlad Yasevich <vladislav.yasevich@...com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists