From nobody Fri Jul 25 16:28:16 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 4bpYFr74yNz623pV for ; Fri, 25 Jul 2025 16:28:16 +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 4bpYFr5jjgz3VqT for ; Fri, 25 Jul 2025 16:28:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753460896; 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=1EmUfK0095fErrE40qL5bzoYwezzesKu9mOzwoLMecs=; b=j5CM6O01x7AWhRZet7/dYWvjll6XlewLUFLbzB40yVNrKwdBmYpSGBCMZvggmA3Egkyt4B qTZ2sehUvFrfqw8Hg1RzZMg2QRxLYatdaOa9MaVpwrZgZbCpQNlNCIG1GoFQ1eRnHfTRcQ GX4xpk4SfCowCbwNaFFXfv7XdoGD8Li45WmRhMXj1Aj5zg01A3NJ+2Ec4ydBtm/EG3Uos4 iJYlat4YoSnaUQ/bTOrCA/MkvoKkklsWOE908oB9A9UoGH6P5l5vsPwuiUFvB0k3O9c/fy oCD8RsAjKqw7UvhYwmdYow9pjLZP536wthD2lL1yqeJ1LrHtT6opyfFbxzN4AQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753460896; 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=1EmUfK0095fErrE40qL5bzoYwezzesKu9mOzwoLMecs=; b=A4cjncxOCxhW14a0RTWZmfm7ceTtMpiiAidbaEsQw0qwAYcIjFJAGtfyAQUdXjp9VZw738 4OJUyqQPi6qpi2bKstUYH4LZU6T6CKYnWIsiNFrjdoF3GIKG2bqicFJrSV4j0ztUxYQjrd nnUhYKf83uuTZOJC+XARPaaHw+lfrMSIsdTiASyAgPPkZJbVC1DskGlqgrOb2nbhKxP5Lv R6+yjJs9kr4Xwlp6mt6oAZNjOLZeA5I2Xb7z9vjjhTM65wsYwKzb6gZDbuN17eCF0VADjT 1I54NDKhFgkogR3+8uHzuoSUsQofl71+rIVeCzTdQJx2iRBBMiq44xSlXuB45g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1753460896; a=rsa-sha256; cv=none; b=vF8INh02hnYauoRFc+Vbbef0M9BmZAO/annaR9H4FupP2YGuW83yY++ommCCOv1W3Aajzu cZ1Uq/mRV6ah2nuUlwqTxIJKkDXBTjmANUzqEW32u9FESK4uVPO67XH5NiMJS3uuK4/jow sy/vgEeH7sI2ymkgJl3sZfXdA2cdQnbq+lV/WN6K+UHFyx9Xpu8tncEgHrjYufgK6kTY2e MIwX4RCoAh1rFPhc3hSH842//AdGpnQnSt7mwaC/gLg4+xCi7Zlxi2YXQcXYqYKV9rtIkx h5e3CzfgOFuOqxSQjHqrRA9YRZqa4utAwMcpqI3+oyUNuBfhvy/LZkPe6sLmhQ== 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 4bpYFr525WzrJd for ; Fri, 25 Jul 2025 16:28:16 +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 56PGSG96023292 for ; Fri, 25 Jul 2025 16:28:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 56PGSGmp023290 for net@FreeBSD.org; Fri, 25 Jul 2025 16:28:16 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: Fri, 25 Jul 2025 16:28:16 +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: jhb@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc bug_status 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 John Baldwin changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jhb@FreeBSD.org Status|New |In Progress --- Comment #5 from John Baldwin --- Adding a detach handler is perfectly reasonable. Note that in 15.0, bus_generic_detach deletes child devices, so you can rem= ove the call to device_delete_child, but the code you have looks correct to me = for 14.x. Would you want to be credited as the author of the commit to add the detach handler? --=20 You are receiving this mail because: You are the assignee for the bug.=