[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080923131452.5d40dd03@extreme>
Date: Tue, 23 Sep 2008 13:14:52 -0700
From: Stephen Hemminger <shemminger@...tta.com>
To: Oliver Hartkopp <oliver@...tkopp.net>
Cc: David Miller <davem@...emloft.net>, netdev@...r.kernel.org
Subject: Re: [PATCH net-next]: net: remove ifalias on empty given alias
On Tue, 23 Sep 2008 21:52:08 +0200
Oliver Hartkopp <oliver@...tkopp.net> wrote:
> This patch removes the potentially allocated ifalias when the (new)
> given alias is empty.
>
> E.g. when setting
>
> echo "" > /sys/class/net/eth0/ifalias
>
> Signed-off-by: Oliver Hartkopp <oliver@...tkopp.net>
> ---
>
> Hello Stephen,
>
> this patch allows to 'remove' or reset the ifalias by giving an empty alias.
> The patch is tested.
> Btw. ifalias is a nice idea also for CAN bus people to 'name' a given
> CAN bus.
>
> Thanks & regards,
> Oliver
>
>
Acked-by: Stephen Hemminger <shemminger@...tta.com>
Also, udev could put a default value in based on the slot information it has.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists