Re: [PATCH 1/2] bonding: Manage /proc/net/bonding/ entries fromthe netdev events

From: David Miller
Date: Mon Jul 09 2012 - 17:49:26 EST


From: ebiederm@xxxxxxxxxxxx (Eric W. Biederman)
Date: Mon, 09 Jul 2012 13:51:45 -0700

>
> It was recently reported that moving a bonding device between network
> namespaces causes warnings from /proc. It turns out after the move we
> were trying to add and to remove the /proc/net/bonding entries from the
> wrong network namespace.
>
> Move the bonding /proc registration code into the NETDEV_REGISTER and
> NETDEV_UNREGISTER events where the proc registration and unregistration
> will always happen at the right time.
>
> Signed-off-by: "Eric W. Biederman" <ebiederm@xxxxxxxxxxxx>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/