opnsense-src/sys/dev/cxgbe/tom
John Baldwin 6b02bb1aa7 Fix the check for an empty send socket buffer on a TOE TLS socket.
Compare sbavail() with the cached sb_off of already-sent data instead of
always comparing with zero.  This will correctly close the connection and
send the FIN if the socket buffer contains some previously-sent data but
no unsent data.

Reported by:	Harsh Jain @ Chelsio
Sponsored by:	Chelsio Communications
2018-03-14 20:49:51 +00:00
..
t4_connect.c Support for TLS offload of TOE connections on T6 adapters. 2018-03-13 23:05:51 +00:00
t4_cpl_io.c Remove TLS-related inlines from t4_tom.h to fix iw_cxgbe(4) build. 2018-03-14 20:46:25 +00:00
t4_ddp.c Simplify error handling in t4_tom.ko module loading. 2018-03-13 21:42:38 +00:00
t4_listen.c Support for TLS offload of TOE connections on T6 adapters. 2018-03-13 23:05:51 +00:00
t4_tls.c Fix the check for an empty send socket buffer on a TOE TLS socket. 2018-03-14 20:49:51 +00:00
t4_tls.h Support for TLS offload of TOE connections on T6 adapters. 2018-03-13 23:05:51 +00:00
t4_tom.c Support for TLS offload of TOE connections on T6 adapters. 2018-03-13 23:05:51 +00:00
t4_tom.h Remove TLS-related inlines from t4_tom.h to fix iw_cxgbe(4) build. 2018-03-14 20:46:25 +00:00
t4_tom_l2t.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
t4_tom_l2t.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00