Page MenuHomeFreeBSD

tcp: remove a condition in tcp_usr_detach() that never happens
ClosedPublic

Authored by glebius on Jul 4 2022, 7:51 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, May 20, 10:28 AM
Unknown Object (File)
Tue, May 19, 8:52 PM
Unknown Object (File)
Tue, May 19, 9:35 AM
Unknown Object (File)
May 16 2026, 4:37 AM
Unknown Object (File)
May 12 2026, 3:13 AM
Unknown Object (File)
Apr 29 2026, 10:44 PM
Unknown Object (File)
Apr 28 2026, 8:40 PM
Unknown Object (File)
Apr 27 2026, 1:16 PM
Subscribers

Details

Summary

The comment from Robert Watson doubts that this condition ever happens.
Our analysis confirm that. Also, we found that if you manage to create
such a connection with help of some other bug, then after the "second
case" code is execute, the kernel will panic in other parts of the stack.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 46262
Build 43151: arc lint + arc unit