[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070618104340.GZ521@postel.suug.ch>
Date: Mon, 18 Jun 2007 12:43:40 +0200
From: Thomas Graf <tgraf@...g.ch>
To: Miklos Szeredi <miklos@...redi.hu>
Cc: davem@...emloft.net, akpm@...ux-foundation.org,
viro@....linux.org.uk, alan@...rguk.ukuu.org.uk,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] fix race in AF_UNIX
* Miklos Szeredi <miklos@...redi.hu> 2007-06-18 12:39
> You are wrong. Look in unix_release_sock():
>
> if (atomic_read(&unix_tot_inflight))
> unix_gc(); /* Garbage collect fds */
>
>
> unix_tot_inflight is the number of AF_UNIX sockets currently being
> transferred over some AF_UNIX sockets.
>
> That means that just sending (non-unix socket) fds over unix sockets
> will never invoke the gc.
That's what I meant, I'm sorry, I should have written unix socket
file descriptor to not leave any room for misinterpretation.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists