From nobody Sun Oct 27 14:31:05 2024 X-Original-To: bugs@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 4XbzTj3tf3z5b5tD for ; Sun, 27 Oct 2024 14:31:05 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XbzTj1FFTz4Brr for ; Sun, 27 Oct 2024 14:31:05 +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=1730039465; 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=/SXp48MhiIT0+gFWmhjIFEshLCiezuF8V6wUuOrMfB4=; b=BRITMSPXAhYkLPn5QLZIsg+IbURO4YiNo+oYHcJkIHwp6zNfsvwWiWTdCJoHrNWVEdxmfW S3fyfR30Tiz8pumUHyFFNNm/eT5OcOlUAG4O3Ctywcd1Nc5j9xtBe3Mrdu55+U+/12ilmU +iaXSyv30r0QyuKNEO6LjuEtgL6XwwwI44GzxZyD6TP2qdHEo/TBFiVQgxymRleZ13KTKH ph39wfMJKAG937qfUznmmEAWbLVe9s3Lzw9Egc4PiLOAjNdtinzEQWsJQzIskNP0ESyO5o +Fqy3TH27SjraK+z4xDlUisAj/Adkd9/A+iCJ2iOPo9J+o7s3STTvEkJgvQZdQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730039465; a=rsa-sha256; cv=none; b=iLycqWD/TVecl+flnL1lowHNgcMMwDsN3gb9sxCM6TzsccpqkTa0P9UKUDoLhRu1T/YBQF sY1R8eRAIeEY0NI3nsqhSkL2jk4Z9axKg7lC/r2FJvteEEs2lJbG+oFVrF/5sA+hveGuXu fPurage67Kyiv6F1R07mB/P7zYEGOcEo3Mn5DFAeH+QfnBsF6gfin4mEY5mwxrvCJP9QNO agGqYuPsA46UiYHhVAV+O0psQWLNWnHVHCggLIkbRBkTxeSrzi7FfjH3uzcjwjHuAK0MDe PDaQ6CBW5qLub5ox3Hz8DUzR4fvvAoW8j0sC2skeu7zF8pxRZStt5CyladaBLg== 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 4XbzTj0s0SzyFK for ; Sun, 27 Oct 2024 14:31:05 +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 49REV5E1013494 for ; Sun, 27 Oct 2024 14:31:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49REV5Ec013493 for bugs@FreeBSD.org; Sun, 27 Oct 2024 14:31:05 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: bugs@FreeBSD.org Subject: [Bug 270399] lock order reversal /usr/src/sys/net/bpf.c:1519 Date: Sun, 27 Oct 2024 14:31:05 +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: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution 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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270399 Mark Johnston changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed CC| |markj@FreeBSD.org Resolution|--- |FIXED --- Comment #1 from Mark Johnston --- I believe this is now fixed by commit a52f23f4c49e4. In particular, iflib = no longer holds its ctx lock while calling ether_ifattach(), so the iflib ctx = -> bpf global lock order isn't established. I also don't see any LORs when enabling promiscuous mode on an igb interfac= e, and witness reports a lock order "bpf global lock" -> "iflib ctx lock". --=20 You are receiving this mail because: You are the assignee for the bug.=