| 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@osdl.org> |
| References: | <20030815111514.GA5228@callisto.yi.org> <20030815093724.519779e6.shemminger@osdl.org> |
| 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> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] ibmtr - get rid of MOD_INC/DEC, David S. Miller |
|---|---|
| Next by Date: | Re: [PATCH] set owner on /proc/net/rt6_stats, David S. Miller |
| Previous by Thread: | Re: [PATCH] network device renaming sysfs fix, Dan Aloni |
| Next by Thread: | Re: [PATCH] network device renaming sysfs fix, Dan Aloni |
| Indexes: | [Date] [Thread] [Top] [All Lists] |