From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jamal Hadi Salim Date: Sat, 14 Dec 2013 18:35:41 +0000 Subject: Re: undetected closed apps Message-Id: <52ACA4FD.1060001@mojatatu.com> List-Id: References: <52AC7375.6010505@mojatatu.com> In-Reply-To: <52AC7375.6010505@mojatatu.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-sctp@vger.kernel.org Tried using close - no luck. I may have observed maybe 1 out 100 runs where a proper shutdown was sent - which maybe an an improvement, but i could be imagining that. If it is any help: I am using epoll via libev but i dont think thats the problem because it works 100% on older kernels. cheers, jamal On 12/14/13 12:36, Jamal Hadi Salim wrote: > On 12/14/13 12:23, Michael Tuexen wrote: > > >> OK. This should trigger the SHUTDOWN procedure, but leave the socket >> alive. >> Any reason why you can't try close() instead? > > I cant remember the reason - but there was one in the past. I will give > close a try. I can access the machine with problematic kernel > in about 1 hour from now and will post. > > The question is: Why does this work with older kernels. > Or even more with the same kernel if the client doesnt > send very fast. > > cheers, > jamal > >> Best regards >> Michael >>> >>> cheers, >>> jamal >>> >> >> >> >