OpenVZ Forum


Home » Mailing lists » Devel » [PATCH 2.6.25 5/6] net: Make AF_UNIX per network namespace safe (v2)
Re: [PATCH 2.6.25 5/6] net: Make AF_UNIX per network namespace safe (v2) [message #23537 is a reply to message #23360] Tue, 20 November 2007 06:33 Go to previous message
davem is currently offline  davem
Messages: 463
Registered: February 2006
Senior Member
From: "Denis V. Lunev" <den@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@openvz.org>
> Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>

Applied, thanks.
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
 
Read Message
Read Message
Previous Topic: [PATCH 2.6.25 4/6] net: Make AF_PACKET handle multiple network namespaces
Next Topic: [PATCH 2.6.25 6/6] net: consolidate net namespace related proc files creation
Goto Forum:
  


Current Time: Sun Oct 12 06:34:23 GMT 2025

Total time taken to generate the page: 0.10812 seconds