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)
Sun, Nov 30, 7:32 AM
Unknown Object (File)
Fri, Nov 28, 2:15 PM
Unknown Object (File)
Thu, Nov 27, 5:30 PM
Unknown Object (File)
Thu, Nov 27, 10:14 AM
Unknown Object (File)
Thu, Nov 27, 8:09 AM
Unknown Object (File)
Tue, Nov 25, 3:51 PM
Unknown Object (File)
Sat, Nov 22, 3:38 AM
Unknown Object (File)
Thu, Nov 20, 2:40 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