[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 #5 from [email protected] ---
A commit in branch main references this bug:

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

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

    rge: fix callout setup/teardown; handle invalid ethernet address

    * Do the callout init early; since some of the teardown path expects
      the callout to be valid

    * Handle an invalid ethernet address by generating a local one.

    PR:     kern/293307

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

 sys/dev/rge/if_rge.c | 19 ++++++++++++++-----
 1 file changed, 14 insertions(+), 5 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.