[IP6TUNNEL]: Make tunnels hashes per-net.
authorPavel Emelyanov <xemul@openvz.org>
Wed, 16 Apr 2008 08:23:22 +0000 (01:23 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Apr 2008 08:23:22 +0000 (01:23 -0700)
commit3e6c9fb5f5a4cab0d2342b69d4e46e8f5a08b04e
treec8f689f8018388b8483d75b561ce95587e327db1
parent15820e129013dd0771812001a2046ae37c9a2ba0
[IP6TUNNEL]: Make tunnels hashes per-net.

Move hashes in the struct ip6_tnl_net, replace tnls_xxx[] with
ip6n->tnlx_xxx[] and handle init and exit appropriately.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_tunnel.c