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)
Sat, Dec 13, 6:11 PM
Unknown Object (File)
Fri, Dec 12, 10:26 PM
Unknown Object (File)
Fri, Dec 12, 2:43 PM
Unknown Object (File)
Fri, Dec 12, 12:16 PM
Unknown Object (File)
Thu, Dec 4, 1:02 PM
Unknown Object (File)
Nov 26 2025, 2:09 AM
Unknown Object (File)
Nov 12 2025, 12:07 AM
Unknown Object (File)
Nov 11 2025, 5:13 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable