Re: interface media ifm_cur

2022-07-14 Thread Vitaliy Makkoveev
On Thu, Jul 14, 2022 at 01:46:14PM +0200, Alexander Bluhm wrote: > Hi, > > Protect all writers to ifm_cur with a mutex. ifmedia_match() does > not return any pointers without lock anymore. > > ok? I like to use fmedia_get() instead fmedia_match_get(). With this change ok mvs@. > > bluhm > >

interface media ifm_cur

2022-07-14 Thread Alexander Bluhm
Hi, Protect all writers to ifm_cur with a mutex. ifmedia_match() does not return any pointers without lock anymore. ok? bluhm Index: dev/ic/if_wi.c === RCS file: /data/mirror/openbsd/cvs/src/sys/dev/ic/if_wi.c,v retrieving revisio