]> git.baikalelectronics.ru Git - kernel.git/commit
[NETNS][IPV6]: Make ip6_frags per namespace.
authorDaniel Lezcano <dlezcano@fr.ibm.com>
Thu, 10 Jan 2008 10:56:03 +0000 (02:56 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:01:18 +0000 (15:01 -0800)
commit76eed979c35bd5ec4b2c7444e14811bd6bcdafcf
tree1fc9565c1b8c36e5fe9ecfde20bd989f6475324f
parent20cb9757a40049ff2eae7cb6e5d969e962303a7e
[NETNS][IPV6]: Make ip6_frags per namespace.

The ip6_frags is moved to the network namespace structure.  Because
there can be multiple instances of the network namespaces, and the
ip6_frags is no longer a global static variable, a helper function has
been added to facilitate the initialization of the variables.

Until the ipv6 protocol is not per namespace, the variables are
accessed relatively from the initial network namespace.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ipv6.h
include/net/netns/ipv6.h
net/ipv6/af_inet6.c
net/ipv6/reassembly.c
net/ipv6/sysctl_net_ipv6.c