bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pflocal socket bug


From: Svante Signell
Subject: Re: pflocal socket bug
Date: Fri, 11 Sep 2015 10:34:50 +0200

On Fri, 2015-09-11 at 02:10 +0200, Samuel Thibault wrote:
> Hello,
> 
> Thanks for the detailed description and testcase!  I could fix it, this
> case was actually apparently completely untested: reference counting was
> never reaching zero, and thus the sock never actually shut down.

Nice to see such a fast solution! I think I even understood most of
it :)

So the problem was all about reference counting in socket.c
(S_socket_connect). I searched for a solution in the earlier call to
sock.c (sock_connect) in that function. Oh well! Maybe this also solves
the ssh (intermittent) problems when unlinking/removing a named socket.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]