[IPIP]: Make tunnels hashes per net.
authorPavel Emelyanov <xemul@openvz.org>
Wed, 16 Apr 2008 08:05:32 +0000 (01:05 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Apr 2008 08:05:32 +0000 (01:05 -0700)
commit44d3c299dcfee094f10e0c686ad6588fd36d4f8f
tree437aa81b715eee3805ca016df77923c3cb770892
parentcec3ffae1a019f02cd6b5fa291f279c8e9f86157
[IPIP]: Make tunnels hashes per net.

Either net or ipip_net already exists in all the required
places, so just use one.

Besides, tune net_init and net_exit calls to respectively
initialize the hashes and destroy devices.

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