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)
Sat, Jun 6, 8:00 AM
Unknown Object (File)
Sat, Jun 6, 4:36 AM
Unknown Object (File)
Fri, Jun 5, 11:58 PM
Unknown Object (File)
Fri, Jun 5, 5:18 AM
Unknown Object (File)
Sat, May 23, 7:56 PM
Unknown Object (File)
May 16 2026, 7:46 PM
Unknown Object (File)
May 3 2026, 6:26 PM
Unknown Object (File)
Apr 27 2026, 2:50 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