From: Daniel Lezcano Date: Wed, 26 Nov 2008 00:46:37 +0000 (-0800) Subject: netns: filter out uevent not belonging to init_net X-Git-Tag: v2.6.29-rc1~581^2~481 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09bb52175bf4d6a46fc8502e76be29206d9a677a;p=pandora-kernel.git netns: filter out uevent not belonging to init_net This patch will filter out the uevent not related to the init_net. Without this patch if a network device is created in a network namespace with the same name as one network device belonging to the initial network namespace (eg. eth0), when the network namespace will die and the network device will be destroyed, an event will be sent and catched by the udevd daemon. That will result to have the real network device to be shutdown because the udevd/uevent are not namespace aware. Signed-off-by: Daniel Lezcano Acked-by: "Eric W. Biederman" Signed-off-by: David S. Miller --- Reading git-diff-tree failed