Page MenuHomeFreeBSD

Handle negative return values from syncache_expand().
ClosedPublic

Authored by jhb on Jan 19 2021, 8:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 21, 6:38 PM
Unknown Object (File)
Tue, Apr 14, 11:39 PM
Unknown Object (File)
Thu, Apr 9, 7:34 PM
Unknown Object (File)
Thu, Apr 9, 3:01 AM
Unknown Object (File)
Mon, Apr 6, 3:45 AM
Unknown Object (File)
Fri, Apr 3, 3:33 AM
Unknown Object (File)
Mar 18 2026, 11:56 AM
Unknown Object (File)
Mar 4 2026, 4:08 PM
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