Protect interface media list with a mutex. This is just a start
authorbluhm <bluhm@openbsd.org>
Tue, 12 Jul 2022 22:08:17 +0000 (22:08 +0000)
committerbluhm <bluhm@openbsd.org>
Tue, 12 Jul 2022 22:08:17 +0000 (22:08 +0000)
commit1cc9250c5648d951ba5a9a5aa95f02018b9ce1f6
tree089d1112ed2528ca9a70bc0227725912db5a9378
parent4e4021b834e00efcfb4ed345750fa355caf0915e
Protect interface media list with a mutex.  This is just a start
to make make media structures MP safe.
OK mvs@
sys/dev/ic/gem.c
sys/net/if_media.c
sys/net/if_media.h