From nobody Mon Jul 21 12:12:20 2025 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 4blzmN4tFHz62ZQm for ; Mon, 21 Jul 2025 12:12:20 +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 4blzmN2gJrz3lDf for ; Mon, 21 Jul 2025 12:12:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753099940; 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=q2ZkTgDlsN0CSXNlN2BM12MLrzO5+txcDCt4cwHHetc=; b=qAi8ZAE7iCaw9ZQOhUr6T+T8j8sqKwHdnavZzXzo4WfJDVduzD/aY2cTv3GBl10bLh6Q4l Ihbp21+4+PEoR4ovYlBt/bxBIyHxl1RSHmNpmhu21NEuoM3hM83FeWyt74jaraKfTSRt1V Lo8oRxjKKnKCZFD2ZAZj0zpgRwHzctWJC/rKRczYZYvj0pNMqqto9RbkQ/C+9GIzZ6NWPu munYBMzxDXhV3YfcJutLWmSWvdSbEucdd4zXw76OCNOhMV6SGm3HsIqMpCuCg2PmwWCE2k rOmhRvcbMIfwuHyRgOBsfV2vujjBScBW5v6ulnCNKLkPMPERKZboOR79OZYAnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753099940; 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=q2ZkTgDlsN0CSXNlN2BM12MLrzO5+txcDCt4cwHHetc=; b=TL/i92ZFbiZC+och4we2z38jNsvYW+RiHSyd8MbfSJRwnrftUPAHogHFWNAQXuunXBFTQz SCAZXpBmJ27zgGz5Ynh/ZpADI7fzZHiDtFitUScJftQ5LvgVRXZ5w5ovCFKX3Hxr8Vw1no 5bC02RFH604g4qo4Pn1v+t1EOSqtK4Bj5MgTzFcwRda3zezsc/rJJ+7yXmMrYSKEbvB8Y8 +DL2XY/yxMRO9keEK0aK3NgCF8EzRWTdWt0obHSsj4HwKPuEV09QvirAIB5bgHNiyIryIG R0NcftNKX7zIpOJVjQTUQrJOz50yovQtGvdspny3ivMdl1xdGWKxV0OqNCqg7A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1753099940; a=rsa-sha256; cv=none; b=NAly0r5UfvtqVqgrTfjy4NYCQGCDAP4P4oRISzB9COSZBmgusZr6A4OhNeUdGG1Rhj4uMr Fv206QC0NG/ng4L5n7ooDbDT4Kcgx5Wn9C4W5u3FPde+1jiAmAM8/Hxb9YS+SlOX/JExWH R/wiohRfI8CovTtukfS9shtPoA3aWD+ig5Cwo5KKYzxGwV83mul1kOl9Tb7qekDGOpCocp mdd5qzvtL3Fd3SUvZsyJ2dwwQVqJjZWl4LpeWWHB5RYy0q4iKKpfh31LdyQ6VqQjv/5BM4 RbacGTA5nqUjTnmSwNo/Z2sOTlTXh0IL22ZtVWED8zf/UNTCG8flxCT3ZRewew== 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 4blzmN2FW9zxLs for ; Mon, 21 Jul 2025 12:12:20 +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 56LCCKRW094921 for ; Mon, 21 Jul 2025 12:12:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 56LCCKET094920 for net@FreeBSD.org; Mon, 21 Jul 2025 12:12:20 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 288309] genet driver memory leak in dma teardown (cut and paste issue) Date: Mon, 21 Jul 2025 12:12:20 +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: 13.5-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: mibelanger@qnx.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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=3D288309 --- Comment #3 from Mike Belanger --- Our driver testing includes loading and unloading drivers, so a detach func= tion is useful for our testing. Most FreeBSD drivers have an implementation of a detach handler. Asking FreeBSD to add a detach handler for the genet driver is a selfish request as our implementation is dependent on existing functions. Having t= he same detach handler in FreeBSD adds some future proofing for our implementation. --=20 You are receiving this mail because: You are the assignee for the bug.=