]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit49d1471599668033230638be734dc635b66f0ee0
tree437aa81b715eee3805ca016df77923c3cb770892
parent3c6949b92a2957868191b094c1c38894d426dd23
[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