[Bug 293307] if_rge detach cleanup for crash when error occurs during attach

[email protected]
Newsgroups gmane.os.freebsd.devel.net
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293307

--- Comment #4 from [email protected] ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=d1947d0a1a55f905e5ed076d46d4f75a00c6f823

commit d1947d0a1a55f905e5ed076d46d4f75a00c6f823
Author:     John <[email protected]>
AuthorDate: 2026-02-22 18:06:44 +0000
Commit:     Adrian Chadd <[email protected]>
CommitDate: 2026-02-22 18:07:34 +0000

    rge: correctly free busdma memory / zero things out only if allocated

    * Only free busdma memory that was allocated
    * Don't free tx/rx rings until their buffers have also been freed

    PR:     kern/293307

    Reviewed by:    zlei
    Differential Revision:  https://reviews.freebsd.org/D55420

 sys/dev/rge/if_rge.c | 33 ++++++++++++++++++---------------
 1 file changed, 18 insertions(+), 15 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.