diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2007-10-09 22:02:17 +0200 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-11 01:54:59 +0200 |
commit | 32f0c4cbe495d121c09ed14d9c84f9e1b9574415 (patch) | |
tree | bdf044b03098748b6619bb71e8090ff5b9ef7da2 /net/ipv6/xfrm6_mode_beet.c | |
parent | [IPv6]: use container_of() macro in fib6_clean_node() (diff) | |
download | linux-32f0c4cbe495d121c09ed14d9c84f9e1b9574415.tar.xz linux-32f0c4cbe495d121c09ed14d9c84f9e1b9574415.zip |
[NETNS]: Don't memset() netns to zero manually
The newly created net namespace is set to 0 with memset()
in setup_net(). The setup_net() is also called for the
init_net_ns(), which is zeroed naturally as a global var.
So remove this memset and allocate new nets with the
kmem_cache_zalloc().
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/xfrm6_mode_beet.c')
0 files changed, 0 insertions, 0 deletions