summaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2007-11-19 22:29:30 -0800
committerDavid S. Miller <davem@davemloft.net>2008-01-28 14:54:27 -0800
commit097e66c578459f79e3a2128c54e9df5194e1419a (patch)
treebdc164e849dc33a4321ea51d965a113917bb287b /net/core
parentd12d01d6b4d197115c4d7736172b5b1ec8b1eb71 (diff)
downloadtalos-obmc-linux-097e66c578459f79e3a2128c54e9df5194e1419a.tar.gz
talos-obmc-linux-097e66c578459f79e3a2128c54e9df5194e1419a.zip
[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 <den@openvz.org> Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud