[Bug 293307] if_rge detach cleanup for crash when error occurs during attach
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 22 Feb 2026 18:08:35 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293307
--- Comment #4 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=d1947d0a1a55f905e5ed076d46d4f75a00c6f823
commit d1947d0a1a55f905e5ed076d46d4f75a00c6f823
Author: John <john@cybersashi.com>
AuthorDate: 2026-02-22 18:06:44 +0000
Commit: Adrian Chadd <adrian@FreeBSD.org>
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.