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

--- Comment #34 from Hans Petter Selasky <hsela...@freebsd.org> ---
Hi,

Can you try this patch and get those prints off the DMESG?

Maybe some memory is not zero-initialized ...

--HPS

diff --git a/sys/kern/kern_linker.c b/sys/kern/kern_linker.c
index 6dc21886066..89b575b0ab7 100644
--- a/sys/kern/kern_linker.c
+++ b/sys/kern/kern_linker.c
@@ -1066,6 +1066,9 @@ kern_kldload(struct thread *td, const char *file, int
*fileid)
        if ((error = priv_check(td, PRIV_KLD_LOAD)) != 0)
                return (error);

+       printf("TD_PROC=%p\n", td->td_proc);
+       printf("P_FD=%p\n", td->td_proc->p_fd);
+
        /*
         * It is possible that kldloaded module will attach a new ifnet,
         * so vnet context must be set when this ocurs.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to