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/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271101

--- 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 KPI
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 the
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 HEAD,
as t4_tracer is the only remaining customer.

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271101-227-XoQuMYI27B>