From nobody Wed Jan 03 07:09:50 2024 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4T4gp64NRZz558bM for ; Wed, 3 Jan 2024 07:09:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T4gp61Zjyz412B for ; Wed, 3 Jan 2024 07:09:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704265790; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KOVBBStvrV4sqv/D/vE9Gx8EeIynH/BVYWLVebyIz9A=; b=ZmS9vZ0RDttbl2EXFsVxH3DMsKZnlil3zICkuIcDTzdG+entApSEbK7QhOLE91ixByl2Da KeIvi741o7GB9epA+rcwHb3hSH/USIdherbJp56SjczHGTcrMP4q/pJzGTHS/TfHUPWLq0 jsY1y0XNJ5JgyNstY9Ngf2IXbpeKZaZYW9EF1p07z3mlqP4v8W/KEr59iHV6He2z7X7hbV vTgnliFHv5qoBzoNaoefdjgxa+9M8JhIXX/FMruBeB1F5fvWoC95/KSFMMnAUCQ4t72KVk lzSjGpYYLfQJ2I9JoL8pn5Xs9L7/4pg0PlcmsSLz/GYrCPYJ5QMPeXBMf90LvQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704265790; a=rsa-sha256; cv=none; b=YkGTOaob0yuAVFYf+dUYtFnFZtLgdFvACgW61DhDejCWMVrBtVbrnDBJrz8qOE88Z+O6Lg Q9R62R8O6Cz94P9OpOioQm+/0kUYu2ERfXZA7XdKoUHlSjlXs/asUh5dT9em0lqEw/eG8V Nq4rLiMEynQvxBDUkOOShUebWTVSwkRhYf4yIU4PYR1ejJGc3D0CQ7f2PVMN8W7V+XRvVW ijsRSQjn6QdXYpDrjb4iGurbctMp1AO3cvl3C/1f4TwsJoyo4KWz5H4B/iz3Hiu2ibbIZp ljZtaxMw6ZYTiXnT64tE2b08BktTMJ4373BWsivnegT4xbbp302245BfAjgKjg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4T4gp60XN3zbDZ for ; Wed, 3 Jan 2024 07:09:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 40379nvd057761 for ; Wed, 3 Jan 2024 07:09:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 40379nKH057760 for net@FreeBSD.org; Wed, 3 Jan 2024 07:09:49 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 271101] cxgbe(4): panic due to lock recursion while creating tracing interface Date: Wed, 03 Jan 2024 07:09:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: np@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271101 Navdeep Parhar changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|In Progress |Closed --- Comment #4 from Navdeep Parhar --- This was fixed in e203cb393fe0 some time ago. commit e203cb393fe0 Author: Navdeep Parhar Date: Sat Sep 9 12:39:15 2023 -0700 cxgbe(4): Fix tracing with netlink enabled kernels. 1. The tracing ifnet's name must match the nexus name. One way to do this is to not use a unit number. 2. Do not hold the tracer lock around ether_ifattach or ether_ifdetach. netlink calls back into the driver (see stack below) and that leads to illegal lock recursion. tracer_ioctl if_ioctl get_operstate_ether get_operstate dump_iface rtnl_handle_ifevent rtnl_handle_ifattach if_attach_internal if_attach ether_ifattach t4_cloner_create MFC after: 3 days Sponsored by: Chelsio Communications --=20 You are receiving this mail because: You are the assignee for the bug.=