public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: David Brownell <david-b@pacbell•net>
To: Peter Korsgaard <jacmet@sunsite•dk>
Cc: Wu Fengguang <wfg@linux•intel.com>, netdev@vger•kernel.org
Subject: Re: [PATCH] dm9601: handle corrupt mac address
Date: Tue, 6 Jan 2009 02:28:16 -0800	[thread overview]
Message-ID: <200901060228.16744.david-b@pacbell.net> (raw)
In-Reply-To: <874p0cvnae.fsf@macbook.be.48ers.dk>

On Tuesday 06 January 2009, Peter Korsgaard wrote:
> So what happens if you plug in 2 devices without an EEPROM? Do they
> get the same MAC address? That seems broken.

What happens when you unplug one then re-plug it?  Maybe
someone trips over the USB cable, or it gets an electrical
glitch that evalutes to disconnect/reconnect... It gets
the same address again.  Not particularly broken.

Note that Ethernet was *designed* around using a single
address per host ... I still have XNS docs sitting around
somewhere, that was a fairly significant thing.  One of the
original reasons Ethernet adapter addresses could change
was to make sure that all Ethernet interfaces on a host
would use the same address.

That said ... if it bothers you, that's easy to change
in userspace.  This code has worked this way for around
nine years now; I don't recall any previous complaints.

- Dave



  parent reply	other threads:[~2009-01-06 10:28 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-06  6:14 [PATCH] dm9601: handle corrupt mac address Wu Fengguang
2009-01-06  8:04 ` Peter Korsgaard
2009-01-06  8:29   ` Wu Fengguang
2009-01-06  8:42     ` Peter Korsgaard
2009-01-06  9:50       ` Wu Fengguang
2009-01-06 10:28       ` David Brownell [this message]
2009-01-06 10:56         ` Peter Korsgaard
2009-01-06 18:55   ` David Miller

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=200901060228.16744.david-b@pacbell.net \
    --to=david-b@pacbell$(echo .)net \
    --cc=jacmet@sunsite$(echo .)dk \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=wfg@linux$(echo .)intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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