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)
Feb 17 2024, 3:11 AM
Unknown Object (File)
Feb 10 2024, 7:06 AM
Unknown Object (File)
Jan 18 2024, 7:41 PM
Unknown Object (File)
Dec 22 2023, 10:29 PM
Unknown Object (File)
Dec 12 2023, 10:04 AM
Unknown Object (File)
Oct 16 2023, 7:15 PM
Unknown Object (File)
Sep 5 2023, 11:02 PM
Unknown Object (File)
Sep 5 2023, 11:02 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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 36347
Build 33236: arc lint + arc unit