[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20080923.212335.122243864.davem@davemloft.net>
Date: Tue, 23 Sep 2008 21:23:35 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: shemminger@...tta.com
Cc: oliver@...tkopp.net, netdev@...r.kernel.org
Subject: Re: [PATCH net-next]: net: remove ifalias on empty given alias
From: Stephen Hemminger <shemminger@...tta.com>
Date: Tue, 23 Sep 2008 13:14:52 -0700
> 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.
I've applied Oliver's patch.
--
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