From: Thomas Graf <tgraf@suug.ch> Date: 2007-06-18 10:43:29
Also in:lkml
* Miklos Szeredi [off-list ref] 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.