Page MenuHomeFreeBSD

Handle negative return values from syncache_expand().
ClosedPublic

Authored by jhb on Jan 19 2021, 8:28 PM.
Tags
None
Referenced Files
F170572205: D28243.id84131.diff
Sat, Sep 5, 11:25 AM
F170519266: D28243.id82584.diff
Sat, Sep 5, 5:19 AM
F170512549: D28243.id.diff
Sat, Sep 5, 4:26 AM
F170471256: D28243.id82584.diff
Fri, Sep 4, 11:51 PM
F170469008: D28243.id84131.diff
Fri, Sep 4, 11:35 PM
F170422124: D28243.diff
Fri, Sep 4, 6:28 PM
Unknown Object (File)
Fri, Sep 4, 1:51 AM
Unknown Object (File)
Fri, Sep 4, 12:51 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