[Devel] Re: [PATCH 2.6.25 5/6] net: Make AF_UNIX per network namespace safe (v2)

David Miller davem at davemloft.net
Mon Nov 19 22:33:52 PST 2007


From: "Denis V. Lunev" <den at openvz.org>
Date: Thu, 15 Nov 2007 19:00:41 +0300

> Because of the global nature of garbage collection, and because of the
> cost of per namespace hash tables unix_socket_table has been kept
> global.  With a filter added on lookups so we don't see sockets from
> the wrong namespace.
> 
> Currently I don't fold the namesapce into the hash so multiple
> namespaces using the same socket name will be guaranteed a hash
> collision.
> 
> Changes from v1:
> - fixed unix_seq_open
> 
> Signed-off-by: Denis V. Lunev <den at openvz.org>
> Signed-off-by: Eric W. Biederman <ebiederm at xmission.com>

Applied, thanks.
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list