Module Name: src Committed By: riastradh Date: Fri Dec 31 14:24:26 UTC 2021
Modified Files: src/sys/net: if.c if.h Log Message: sys/net: New functions if_ioctl, if_init, and if_stop. These are wrappers, suitable for inserting appropriate kasserts regarding the API's locking contract, for the corresponding functions in struct ifnet. Since these are intended to commit configuration changes to the interface, which may involve resetting the device, the caller should hold IFNET_LOCK. However, I can't straightforwardly prove that all callers do yet, so the assertion is disabled for now. To generate a diff of this commit: cvs rdiff -u -r1.496 -r1.497 src/sys/net/if.c cvs rdiff -u -r1.295 -r1.296 src/sys/net/if.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.