[PATCH net-next]: net: remove ifalias on empty given alias

From
Oliver Hartkopp <hidden>
Date
2008-09-23 19:52:06
Reply to
Stephen Hemminger, 2008-09-23
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 <redacted>
---

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

Attachments

Thread (7 messages) 7 messages, 3 authors, last reply 2008-09-24
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help