[Bug 288309] genet driver memory leak in dma teardown (cut and paste issue)

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 21 Jul 2025 12:12:20 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288309

--- Comment #3 from Mike Belanger <mibelanger@qnx.com> ---
Our driver testing includes loading and unloading drivers, so a detach function
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 the
same detach handler in FreeBSD adds some future proofing for our
implementation.

-- 
You are receiving this mail because:
You are the assignee for the bug.