netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "David S. Miller" <davem@redhat.com>
To: Stephen Hemminger <shemminger@osdl.org>
Cc: da-x@gmx.net, netdev@oss.sgi.com, mhuth@mvista.com
Subject: Re: [PATCH] network device renaming sysfs fix
Date: Sat, 16 Aug 2003 07:40:14 -0700	[thread overview]
Message-ID: <20030816074014.46b228f5.davem@redhat.com> (raw)
In-Reply-To: <20030815093724.519779e6.shemminger@osdl.org>

On Fri, 15 Aug 2003 09:37:24 -0700
Stephen Hemminger <shemminger@osdl.org> 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?

  parent reply	other threads:[~2003-08-16 14:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-15 11:15 [PATCH] network device renaming sysfs fix Dan Aloni
2003-08-15 16:37 ` Stephen Hemminger
2003-08-15 16:50   ` Dan Aloni
2003-08-16 14:40   ` David S. Miller [this message]
2003-08-17  7:13     ` Dan Aloni
2003-08-15 18:09 ` Mark Huth
  -- strict thread matches above, loose matches on Subject: below --
2003-08-15 11:36 Hen, Shmulik
2003-08-15 11:45 ` Dan Aloni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030816074014.46b228f5.davem@redhat.com \
    --to=davem@redhat.com \
    --cc=da-x@gmx.net \
    --cc=mhuth@mvista.com \
    --cc=netdev@oss.sgi.com \
    --cc=shemminger@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).