Date: Thu, 12 Dec 2024 01:05:55 +0000 From: bugzilla-noreply@freebsd.org To: usb@FreeBSD.org Subject: [Bug 263783] USB MBIM: Support for LTE/4G USB modems (MBIM) Message-ID: <bug-263783-19105-56jaKYpEua@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-263783-19105@https.bugs.freebsd.org/bugzilla/> References: <bug-263783-19105@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263783 --- Comment #47 from Pierre Pronchery <khorben@defora.org> --- (In reply to mike from comment #46) Thanks for testing! It is progress indeed. For the moment I do not see what can cause the panic (maybe related to VNET again?) but I will let you know as soon as I figure anything out on my side. In the meantime you can try to add this in the code: static int umb_add_inet_config { [...] mtx_unlock(&sc->sc_mutex); +CURVNET_SET_QUIET(vnet0); rv =3D in_control(NULL, SIOCAIFADDR, (caddr_t)&ifra, ifp, curthread); +CURVNET_RESTORE(); mtx_lock(&sc->sc_mutex); [...] } If this solves the problem, I suspect there will be another panic when the = link goes up and down; basically for the other two calls of in_control(). The sa= me procedure will apply. Let me know if you would like me to provide a tentative patch instead. HTH, -- khorben --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-263783-19105-56jaKYpEua>