lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ