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
F82279011: D35714.id107766.diff
Sat, Apr 27, 6:16 AM
F82278121: D35714.id.diff
Sat, Apr 27, 6:04 AM
F82278113: D35714.id107870.diff
Sat, Apr 27, 6:04 AM
F82270415: D35714.diff
Sat, Apr 27, 4:04 AM
Unknown Object (File)
Fri, Mar 29, 11:10 AM
Unknown Object (File)
Mar 22 2024, 10:10 PM
Unknown Object (File)
Jan 14 2024, 10:10 AM
Unknown Object (File)
Jan 6 2024, 4:49 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