Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Apr 2023 09:33:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 271101] cxgbe(4): panic due to lock recursion while creating tracing interface
Message-ID:  <bug-271101-227-XoQuMYI27B@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-271101-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-271101-227@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=3D271101

--- Comment #3 from Alexander V. Chernikov <melifaro@FreeBSD.org> ---
(In reply to Navdeep Parhar from comment #2)
Ack. The reason is that t4_tracer is using older 13.x cloner KPI. The new K=
PI
requires the creation function to provide pointer to the created ifnet and =
13.x
wrapper tries to guess it by using the requested interface name.
As t4_tracer uses different name ('if_initname(ifp, name, ifd->unit);') and
does not update the provided name pointer, the search fails, resulting in t=
he
panic later on.

I've created https://reviews.freebsd.org/D39865 to switch t4_tracer to the =
new
KPI.
Afer the conversion, I'm going to delete if_clone_advanced() functions in H=
EAD,
as t4_tracer is the only remaining customer.

--=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-271101-227-XoQuMYI27B>