[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110630084933.GA24074@canuck.infradead.org>
Date: Thu, 30 Jun 2011 04:49:33 -0400
From: Thomas Graf <tgraf@...radead.org>
To: Vladislav Yasevich <vladislav.yasevich@...com>
Cc: netdev@...r.kernel.org, davem@...emloft.net,
Wei Yongjun <yjwei@...fujitsu.com>,
Sridhar Samudrala <sri@...ibm.com>, linux-sctp@...r.kernel.org
Subject: Re: [PATCH] sctp: Enforce maximum retransmissions during shutdown
On Wed, Jun 29, 2011 at 12:14:41PM -0400, Vladislav Yasevich wrote:
> Right. The lack of ABORT from the receive of data is a bug. I was trying to point out
> that instead of modified the sender of data to send the ABORT, you modify the receiver
> to send the ABORT when it is being closed while having data queued.
Agreed. This makes a good procedure if there is data is on
sk_receive_queue and gets us in line with TCP although I don't see this
in the spec at all :-)
> But we don't even get to sending the SHUTDOWN, so from the wire protocol, we
> do not violated it. We have bad behavior in that when both sender and receiver
> are dead, the association is hung.
So how do we get out if ...
1) there is nothing queued on sk_receive_queue but the window still
remains 0 forver?
2) the receiver is an older Linux without the above fix or another stack
that does not ABORT?
I agree that using ABORT on the receiver is the ideal way whenver
possible but we still need to fix this if the receiver does not do so.
What sideeffects are you worried about resulting from my proposal?
--
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