freebsd-nq/sys/dev/cxgbe
John Baldwin 8a82be5044 Handle CPL_RX_DATA on active TLS sockets.
In certain edge cases, the NIC might have only received a partial TLS
record which it needs to return to the driver.  For example, if the
local socket was closed while data was still in flight, a partial TLS
record might be pending when the connection is closed.  Receiving a
RST in the middle of a TLS record is another example.  When this
happens, the firmware returns the the partial TLS record as plain TCP
data via CPL_RX_DATA.  Handle these requests by returning an error to
OpenSSL (via so_error for KTLS or via an error TLS record header for
the older Chelsio OpenSSL interface).

Reported by:	Sony Arpita Das @ Chelsio
Reviewed by:	np
MFC after:	2 weeks
Sponsored by:	Chelsio Communications
Differential Revision:	Revision: https://reviews.freebsd.org/D26800
2020-10-23 00:23:54 +00:00
..
common cxgbe(4): Fix page fault in t4_get_lb_stats with 2 port T5 cards. 2020-10-19 20:08:47 +00:00
crypto Store the send tag type in the common send tag header. 2020-10-06 17:58:56 +00:00
cudbg cxgbe(4): unimplemented cudbg routines should return the correct 2020-10-14 08:04:39 +00:00
cxgbei cxgbei: destroy the worker threads' CV and mutex in stop_worker_threads. 2020-08-21 00:34:33 +00:00
firmware cxgbe(4): add the firmware binaries instead of the empty files that were added 2020-09-18 03:11:47 +00:00
iw_cxgbe Switch cxgbe interface lookup to use fibX_lookup() from older 2020-06-22 07:35:23 +00:00
tom Handle CPL_RX_DATA on active TLS sockets. 2020-10-23 00:23:54 +00:00
adapter.h cxgbe(4): fix the size of the iq/eq maps. 2020-10-22 08:40:25 +00:00
if_cc.c
if_ccv.c
if_cxl.c
if_cxlv.c
offload.h Store the send tag type in the common send tag header. 2020-10-06 17:58:56 +00:00
osdep.h
t4_clip.c cxgbe(4): Do not display error messages related to the CLIP table if 2020-03-13 00:12:15 +00:00
t4_clip.h
t4_filter.c Always allocate the atid table during attach. 2019-10-22 20:01:47 +00:00
t4_if.m
t4_ioctl.h
t4_iov.c cxgbev(4): Catch up with the pciids in the PF driver. 2019-11-15 18:48:14 +00:00
t4_l2t.c NIC KTLS for Chelsio T6 adapters. 2019-11-21 19:30:31 +00:00
t4_l2t.h NIC KTLS for Chelsio T6 adapters. 2019-11-21 19:30:31 +00:00
t4_main.c cxgbe(4): fix the size of the iq/eq maps. 2020-10-22 08:40:25 +00:00
t4_mp_ring.c cxgbe(4): changes in the Tx path to help increase tx coalescing. 2020-07-03 04:44:23 +00:00
t4_mp_ring.h cxgbe(4): changes in the Tx path to help increase tx coalescing. 2020-07-03 04:44:23 +00:00
t4_netmap.c cxgbe(4): fix the size of the iq/eq maps. 2020-10-22 08:40:25 +00:00
t4_sched.c Store the send tag type in the common send tag header. 2020-10-06 17:58:56 +00:00
t4_sge.c cxgbe(4): fix the size of the iq/eq maps. 2020-10-22 08:40:25 +00:00
t4_smt.c
t4_smt.h
t4_tracer.c
t4_vf.c cxgbe(4): changes in the Tx path to help increase tx coalescing. 2020-07-03 04:44:23 +00:00