Page MenuHomeFreeBSD

tcp: unloading a module that is set to default should error.
ClosedPublic

Authored by rrs on Dec 2 2021, 7:00 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Mar 16, 12:30 PM
Unknown Object (File)
Sun, Mar 8, 4:13 PM
Unknown Object (File)
Wed, Mar 4, 6:43 PM
Unknown Object (File)
Wed, Mar 4, 4:39 AM
Unknown Object (File)
Wed, Mar 4, 3:31 AM
Unknown Object (File)
Mar 2 2026, 1:38 PM
Unknown Object (File)
Dec 22 2025, 10:57 PM
Unknown Object (File)
Dec 15 2025, 4:55 PM

Details

Summary

I just discovered that the return of the EBUSY error was incorrectly
rigged so that you could unload a CC module that was set to default.
Its supposed to be an EBUSY error. Make it so.

Test Plan

make sure that after loading a module and setting it
to default that we get a EBUSY return on unload. And if
you remove the default then the module unload works.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable