[Top] [All Lists]

Re: [PATCH] network device renaming sysfs fix

To: Stephen Hemminger <shemminger@xxxxxxxx>
Subject: Re: [PATCH] network device renaming sysfs fix
From: "David S. Miller" <davem@xxxxxxxxxx>
Date: Sat, 16 Aug 2003 07:40:14 -0700
Cc: da-x@xxxxxxx, netdev@xxxxxxxxxxx, mhuth@xxxxxxxxxx
In-reply-to: <20030815093724.519779e6.shemminger@xxxxxxxx>
References: <20030815111514.GA5228@xxxxxxxxxxxxxxx> <20030815093724.519779e6.shemminger@xxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
On Fri, 15 Aug 2003 09:37:24 -0700
Stephen Hemminger <shemminger@xxxxxxxx> wrote:

> The class_dev kobject name is 20 chars and IFNAMSIZ is 16, so the solution
> needs to truncate if new_name is not null terminated (all 16 chars long).
> This seems like the best approach:

Patch applied, thanks everyone.

Can't the device name also change via netlink messages?
If so, do we handle that case properly?

<Prev in Thread] Current Thread [Next in Thread>