Module Name:    src
Committed By:   riastradh
Date:           Fri Dec 31 14:25:59 UTC 2021

Modified Files:
        src/sys/net: if.c

Log Message:
sys/net: Assert IFNET_LOCKED in if_ioctl, if_init, and if_stop.

Exception: Not for SIOCADDMULTI/SIOCDELMULTI, for which it is the
driver's responsibility to take internal locks.  Typically this is
already done via struct ethercom::ec_lock.


To generate a diff of this commit:
cvs rdiff -u -r1.498 -r1.499 src/sys/net/if.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Reply via email to