Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Oct 2013 11:19:09 +0400
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org>
Subject:   Re: svn commit: r257184 - in head/sys/dev: mii usb/net xl
Message-ID:  <20131027071909.GH52889@FreeBSD.org>
In-Reply-To: <CAJ-VmonmXgQUOFDw=ZHYXVbsNS54vUwCXt8JiZ=mKENvG85F9Q@mail.gmail.com>
References:  <201310261840.r9QIeH89083767@svn.freebsd.org> <CAJ-VmonmXgQUOFDw=ZHYXVbsNS54vUwCXt8JiZ=mKENvG85F9Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Oct 26, 2013 at 06:57:04PM -0700, Adrian Chadd wrote:
A> hm, so none of the modified PHYs nor their consumers will get upset?
A> Eg, if the NIC is down, is touching the PHY registers going to be a
A> problem?

The IFF_UP was always an administrative flag. I believe drivers initialize
all their resources before being set an address with SIOCSIFADDR.

If a driver doesn't, then the previous code still was racy.

Anyway, I am going to handle any fallouts.


-- 
Totus tuus, Glebius.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131027071909.GH52889>