Page MenuHomeFreeBSD

tcp: stack unloading crash in rack and bbr
ClosedPublic

Authored by rrs on Apr 14 2023, 6:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Feb 26, 3:58 PM
Unknown Object (File)
Nov 21 2024, 1:27 PM
Unknown Object (File)
Nov 15 2024, 6:53 AM
Unknown Object (File)
Oct 3 2024, 6:06 PM
Unknown Object (File)
Oct 3 2024, 2:44 PM
Unknown Object (File)
Oct 3 2024, 5:44 AM
Unknown Object (File)
Sep 29 2024, 2:29 PM
Unknown Object (File)
Sep 29 2024, 1:17 PM
Subscribers

Details

Summary

Its possible to induce a crash in either rack or bbr. This would be done
if the rack stack were say the default and bbr was being used by a connection.
If the bbr stack is then unloaded and it was active, we will trigger a MPASS assert
in tcp_hpts since the new stack (default rack) would start a timer, and the old stack
(bbr) would have the inp already in hpts.

Test Plan

Unload a module while its tcp stack is active that is not the default with an INVARIANT kernel
and make sure that we do not crash in hpts.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped