aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_conf.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2021-02-17 21:28:04 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2021-02-17 21:28:04 +0000
commit1deaad936417ed2315476718fbd2648de08585bf (patch)
tree31ab89663bf87dc7f7e82a2ef9ea220293ee1b3a /sys/kern/kern_conf.c
parent50a61f8db532676d7dc37410540fff7209b7c072 (diff)
downloadsrc-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 'sys/kern/kern_conf.c')
0 files changed, 0 insertions, 0 deletions