]> bbs.cooldavid.org Git - net-next-2.6.git/commit - net/ipv4/ipip.c
[IPIP]: Add net/ipip_net argument to some functions.
authorPavel Emelyanov <xemul@openvz.org>
Wed, 16 Apr 2008 08:04:35 +0000 (01:04 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Apr 2008 08:04:35 +0000 (01:04 -0700)
commitb9fae5c9138086d27715a8a0f29d5b55239db35c
treed0641404b3abe00d626ddb6b96589e83055cff58
parentb9855c54dadc0768dcc3804df1972488783d2267
[IPIP]: Add net/ipip_net argument to some functions.

The hashes of tunnels will be per-net too, so prepare all the
functions that uses them for this change by adding an argument.

Use init_net temporarily in places, where the net does not exist
explicitly yet.

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