[Bug 220860] Double loading of the if_bridge module causes panic

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jul 28 16:10:10 UTC 2017


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

--- Comment #3 from Marie Helene Kvello-Aune <marieheleneka at gmail.com> ---
I've looked at this problem for about a month and then it kind of rotted on my
shelf because busy IRL.

But here's the underlying problems I found which in combination causes this
issue:
1) Build system installs kernel modules even if they're built into kernel 
2) boot loader doesn't (successfully) check if module exists in kernel and
loads it regardless, as long as it's instructed to do so.

"kldload" properly checks if the module already exists in the kernel and
correctly refuses to load the module.

I didn't test all boot loaders but the second problem at least happens with the
GPT ZFS loader.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-net mailing list