Date: Fri, 25 Jul 2025 16:28:16 +0000 From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 288309] genet driver memory leak in dma teardown (cut and paste issue) Message-ID: <bug-288309-7501-YsmrcLVxBu@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-288309-7501@https.bugs.freebsd.org/bugzilla/> References: <bug-288309-7501@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288309 John Baldwin <jhb@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jhb@FreeBSD.org Status|New |In Progress --- Comment #5 from John Baldwin <jhb@FreeBSD.org> --- Adding a detach handler is perfectly reasonable. Note that in 15.0, bus_generic_detach deletes child devices, so you can remove 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? -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-288309-7501-YsmrcLVxBu>
