[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20110708.093749.899388186927369532.davem@davemloft.net>
Date: Fri, 08 Jul 2011 09:37:49 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: tgraf@...radead.org
Cc: vladislav.yasevich@...com, 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: Thomas Graf <tgraf@...radead.org>
Date: Fri, 8 Jul 2011 10:37:46 -0400
> 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>
Vlad please ACK/NACK this updated patch.
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