From: Denis V. Lunev Date: Tue, 20 Nov 2007 06:29:30 +0000 (-0800) Subject: [NET]: Make AF_UNIX per network namespace safe [v2] X-Git-Tag: v2.6.25-rc1~1162^2~1389 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=097e66c578459f79e3a2128c54e9df5194e1419a;p=pandora-kernel.git [NET]: Make AF_UNIX per network namespace safe [v2] 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 Signed-off-by: Eric W. Biederman Signed-off-by: David S. Miller --- Reading git-diff-tree failed