opnsense-src/sys/dev/cxgbe/tom
John Baldwin 1deaad9364 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
2021-02-17 13:28:04 -08:00
..
t4_connect.c Clear TLS offload mode if a TLS socket hangs without receiving data. 2020-12-03 22:06:08 +00:00
t4_cpl_io.c Clear TLS offload mode if a TLS socket hangs without receiving data. 2020-12-03 22:06:08 +00:00
t4_ddp.c vmspace: Convert to refcount(9) 2020-11-04 16:30:56 +00:00
t4_listen.c Handle negative return values from syncache_expand(). 2021-02-17 13:28:04 -08:00
t4_tls.c Don't try to adjust a TLS TOE socket that has been closed. 2020-12-30 09:56:24 -08:00
t4_tls.h Re-enable receive flow control for TOE TLS sockets. 2020-10-19 20:08:50 +00:00
t4_tom.c Clear TLS offload mode if a TLS socket hangs without receiving data. 2020-12-03 22:06:08 +00:00
t4_tom.h Clear TLS offload mode if a TLS socket hangs without receiving data. 2020-12-03 22:06:08 +00:00
t4_tom_l2t.c cxgbe/tom: Put the ifnet or VLAN's PCP value in the 802.1Q tag of frames 2018-08-17 19:22:46 +00:00
t4_tom_l2t.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00