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)
Sun, Feb 23, 3:35 PM
Unknown Object (File)
Mon, Feb 17, 9:56 PM
Unknown Object (File)
Sun, Feb 16, 7:42 PM
Unknown Object (File)
Sat, Feb 8, 7:48 AM
Unknown Object (File)
Jan 21 2025, 12:56 AM
Unknown Object (File)
Dec 21 2024, 11:42 PM
Unknown Object (File)
Oct 16 2024, 8:48 PM
Unknown Object (File)
Sep 17 2024, 2:21 AM
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