[Bug 271101] cxgbe(4): panic due to lock recursion while creating tracing interface

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 28 Apr 2023 09:33:12 UTC
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.