CVSROOT:        /cvs
Module name:    src
Changes by:     j...@cvs.openbsd.org    2022/08/14 15:10:08

Modified files:
        sys/dev/fdt    : if_cad.c 

Log message:
Unbreak, don't assume we always hold the NET_LOCK

After net/if.c:rev 1.661 ifioctl() doesn't take the net lock any more
around SIOCGIFMEDIA and SIOCSIFMEDIA, which broke cad_ioctl().
The same was already true about SIOCGIFSFFPAGE.  Only release/reacquire
the net lock if warranted.

Input mvs@, ok miod@ mvs@ bluhm@

Reply via email to