Re: [patch] af_unix fix for a panic a DoS and a memory leak [Re:

Alexander Viro (viro@math.psu.edu)
Tue, 2 Mar 1999 12:58:13 -0500 (EST)


On Tue, 2 Mar 1999, Andrea Arcangeli wrote:

> On Tue, 2 Mar 1999 kuznet@ms2.inr.ac.ru wrote:
>
> >I see... but what to do then? We did not remove syn skb and not yet
>
> What do you mean with "what to do then"?
>
> Excuse but my bad English is hurting my understanding again.
>
> Yesterday night I tried heavily unix-domain-sockets with a threded proggy
> written exactly for this purpose by me. There's been no problem so far and
> I think there are no SMP races in the af_unix code.

Yep. Except that your patch kills a lot of software relying on the old
behaviour of connect() in AF_UNIX. What do you think of blocking close()?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/