Page MenuHomeFreeBSD

Handle negative return values from syncache_expand().
ClosedPublic

Authored by jhb on Jan 19 2021, 8:28 PM.
Tags
None
Referenced Files
F112387640: D28243.id82584.diff
Mon, Mar 17, 3:15 AM
Unknown Object (File)
Thu, Mar 6, 11:21 AM
Unknown Object (File)
Thu, Feb 20, 4:24 PM
Unknown Object (File)
Mon, Feb 17, 4:41 PM
Unknown Object (File)
Jan 27 2025, 10:59 AM
Unknown Object (File)
Jan 17 2025, 10:16 PM
Unknown Object (File)
Dec 10 2024, 7:13 PM
Unknown Object (File)
Dec 8 2024, 8:46 AM
Subscribers

Details

Summary

These errors do not clear so to NULL, so the existing check was
treating these failures as success. The rest of do_pass_establish()
then tried to use the listen socket as if it was a connection socket
newly created by syncache_expand().

In addition, for negative return values, do not send a RST to the
peer.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable