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)
Sun, Apr 19, 9:06 PM
Unknown Object (File)
Sun, Apr 19, 9:05 PM
Unknown Object (File)
Sun, Apr 5, 2:30 PM
Unknown Object (File)
Mar 16 2026, 12:30 PM
Unknown Object (File)
Mar 8 2026, 4:13 PM
Unknown Object (File)
Mar 4 2026, 6:43 PM
Unknown Object (File)
Mar 4 2026, 4:39 AM
Unknown Object (File)
Mar 4 2026, 3:31 AM

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