--- - branch: MAIN date: Fri Dec 31 14:24:26 UTC 2021 files: - new: '1.497' old: '1.496' path: src/sys/net/if.c pathrev: src/sys/net/if.c@1.497 type: modified - new: '1.296' old: '1.295' path: src/sys/net/if.h pathrev: src/sys/net/if.h@1.296 type: modified id: 20211231T142426Z.9655c62a1d262470beeac16d3fa867cef0b82364 log: | 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. module: src subject: 'CVS commit: src/sys/net' unixtime: '1640960666' user: riastradh