tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NET_MPSAFE support for ifmedia / mii



> On Mar 5, 2020, at 10:14 PM, Masanobu SAITOH <msaitoh%execsw.org@localhost> wrote:
> 
> ifmedia_ioctl_locked() calls IFMEDIA_IOCTL_LOCK(). Usually *_lock"ed"()
> is used for already locked resource. I think it would be good to rename
> those functions more understandable.

I've corrected this.  I've also tested a variety of network interfaces (with a variety of PHYs) and observed no ill effects.

Updated diff:

	http://www.netbsd.org/~thorpej/ifmedia-mpsafe-diff.txt

I plan to commit this over the weekend unless there are any strong objections.

-- thorpej



Home | Main Index | Thread Index | Old Index