aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/netns
diff options
context:
space:
mode:
authorBenjamin Thery <benjamin.thery@bull.net>2009-01-22 04:56:17 +0000
committerDavid S. Miller <davem@davemloft.net>2009-01-22 13:57:36 -0800
commit5c0a66f5f3c9c59e2c341400048e2cff768e67a9 (patch)
tree937c8e34fee423d57bff1cd6dd2bc1f4e80eee44 /include/net/netns
parentcf958ae377ee2545ae70cf48d38e7eb4308c27ea (diff)
downloadkernel_samsung_espresso10-5c0a66f5f3c9c59e2c341400048e2cff768e67a9.zip
kernel_samsung_espresso10-5c0a66f5f3c9c59e2c341400048e2cff768e67a9.tar.gz
kernel_samsung_espresso10-5c0a66f5f3c9c59e2c341400048e2cff768e67a9.tar.bz2
netns: ipmr: store netns in struct mfc_cache
This patch stores into struct mfc_cache the network namespace each mfc_cache belongs to. The new member is mfc_net. mfc_net is assigned at cache allocation and doesn't change during the rest of the cache entry life. A new net parameter is added to ipmr_cache_alloc/ipmr_cache_alloc_unres. This will help to retrieve the current netns around the IPv4 multicast routing code. At the moment, all mfc_cache are allocated in init_net. Signed-off-by: Benjamin Thery <benjamin.thery@bull.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/netns')
0 files changed, 0 insertions, 0 deletions