Re: [patch 1/1] netns: filter out uevent not belonging to init_net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: ebiederm@xxxxxxxxxxxx (Eric W. Biederman)
Date: Tue, 25 Nov 2008 09:40:59 -0800

> Daniel Lezcano <dlezcano@xxxxxxxxxx> writes:
> 
> > 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.
> 
> It is belt and suspenders at this point.  As those devices should
> not even be in sysfs at the moment.  But it keeps us from doing the
> wrong thing when sysfs support starts coming on line.
> 
> Acked-by: "Eric W. Biederman" <ebiederm@xxxxxxxxxxxx>

Applied to net-next-2.6, thanks.
_______________________________________________
Containers mailing list
Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/containers

[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux