From: Benjamin Thery Date: Thu, 22 Jan 2009 04:56:17 +0000 (+0000) Subject: netns: ipmr: store netns in struct mfc_cache X-Git-Tag: v2.6.30-rc1~662^2~909 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c0a66f5f3c9c59e2c341400048e2cff768e67a9;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed