Thread (1 message) 1 message, 1 author, 2008-01-11

Re: [patch net-2.6.25 0/5][NETNS][IPV6] discriminate inet6 addresses per namespace

From: David Miller <davem@davemloft.net>
Date: 2008-01-11 06:45:07

From: Daniel Lezcano <redacted>
Date: Thu, 10 Jan 2008 19:02:40 +0100
The inet6_addr_lst hash table contains the configured addresses 
for the ipv6 protocol on the system.

With the network namespace, we have 2 solutions:
 * make this hash table per namespace
 * keep a global hash table and discard addresses not belonging
   to the network namespace

This patchset use the second method. It will use less memory, but
can be a less efficient in case of a lot of containers.

The code is changed to have the network namespace parameter for the
different functions, if we change our mind during an intense usage
of the network namespace, the switch to a hash table per namespace
is really easy to do and will not change the new api again.
All 5 patches applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help