K 10 svn:author V 7 git2svn K 8 svn:date V 27 2021-10-03T05:06:08.466084Z K 7 svn:log V 702 iflib: Make if_shared_ctx_t a pointer to const This structure is shared among multiple instances of a driver, so we should ensure that it doesn't somehow get treated as if there's a separate instance per interface. This is especially important for software-only drivers like wg. DEVICE_REGISTER() still returns a void * and so the per-driver sctx structures are not yet defined with the const qualifier. Reviewed by: gallatin, erj MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D29102 (cherry picked from commit ffe3def903a5f239c319e5fe12450659658974a5) Git Hash: 3a13449e4daa28fd7be43c91017212818006ed5c Git Author: markj@FreeBSD.org END