Re: [PATCH] Allow renaming of network interfaces that are up.

From: Stephen Hemminger
Date: Tue Oct 20 2009 - 21:39:14 EST


On Tue, 20 Oct 2009 19:54:02 +0100
Nix <nix@xxxxxxxxxxxxx> wrote:

> The ancient restriction banning renaming of busy network interfaces appears
> to be purposeless. Everything that depends on a network interface's name is
> done under the dev_base_lock in any case.
>
> This makes it much easier to use things like netconsole which bring up a
> network interface before userspace has started: presently these will cause
> interface renamings to fail, breaking any userspace that relies on renaming
> devices to avoid reliance on the potentially-unstable kernel-assigned name.
>
> Signed-off-by: Nick Alcock <nix@xxxxxxxxxxxxx>
> ---
> net/core/dev.c | 2 --
> 1 files changed, 0 insertions(+), 2 deletions(-)

This breaks quagga and other applications that track renames.
--
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/