diff options
author | John Baldwin <jhb@FreeBSD.org> | 2021-02-17 21:28:04 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2021-02-17 21:28:04 +0000 |
commit | 1deaad936417ed2315476718fbd2648de08585bf (patch) | |
tree | 31ab89663bf87dc7f7e82a2ef9ea220293ee1b3a /gnu | |
parent | 50a61f8db532676d7dc37410540fff7209b7c072 (diff) | |
download | src-1deaad936417ed2315476718fbd2648de08585bf.tar.gz src-1deaad936417ed2315476718fbd2648de08585bf.zip |
Handle negative return values from syncache_expand().
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.
Reported by: Sony Arpita Das @ Chelsio
Reviewed by: np
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D28243
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions