Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Mar 2026 11:04:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        wireless@FreeBSD.org
Subject:   [Bug 291120] iwlwifi: iwl_opmode_register panic
Message-ID:  <bug-291120-21060-Cz21pYeqgu@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-291120-21060@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291120

--- Comment #3 from commit-hook@FreeBSD.org ---
A commit in branch stable/15 references this bug:

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

commit 169ab967e24bbb097f228e22c07ddb89ae3bfe5f
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2026-03-05 12:41:46 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2026-03-09 11:03:11 +0000

    iwlwifi: mld: move module_init() to SI_ORDER_SECOND

    In FreeBSD the iwlwifi driver is a single kernel module.
    As for iwlwifi/mvm we need to make sure the common "iwlwifi drv" code
    is initialized before trying to register the mld sub-driver
    in order for lists, etc. in the registration code to be initialized.
    We do this by using an extended (FreeBSD specific) version of
    module_init which overrides the order parameter of the SYSINIT.
    Otherwise we can randomly (depending on SYSINIT run order) run into
    a NULL pointer deref panic.

    Sponsored by:   The FreeBSD Foundation
    PR:             291120

    (cherry picked from commit 551c4cb74a807ceae55288bf273f5cfeb37c7c91)

 sys/contrib/dev/iwlwifi/mld/mld.c | 4 ++++
 1 file changed, 4 insertions(+)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-291120-21060-Cz21pYeqgu>