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)
Sat, Dec 6, 3:35 AM
Unknown Object (File)
Mon, Dec 1, 9:53 AM
Unknown Object (File)
Fri, Nov 28, 4:21 PM
Unknown Object (File)
Tue, Nov 25, 12:58 PM
Unknown Object (File)
Tue, Nov 25, 11:43 AM
Unknown Object (File)
Nov 4 2025, 7:03 PM
Unknown Object (File)
Oct 25 2025, 5:00 PM
Unknown Object (File)
Oct 18 2025, 1:32 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