opnsense-src/sys/dev/cxgbe/cxgbei
John Baldwin abc273a290 cxgbei: Better handle new tasks and transfers when disconnecting.
If the connection is in the process of disconnecting, ic_socket can be
NULL.  For icl_cxgbei_conn_transfer_setup(), lock the connection and
check ic_socket before using it.  For icl_cxgbei_conn_task_setup(),
the caller already holds the connection lock, so assert it and bail
early with ECONNRESET if the connection is disconnecting.

Reported by:	Jithesh Arakkan @ Chelsio
Fixes:	 	f949967c8e cxgbei: Fix a race between transfer setup and a peer reset.
2021-06-22 16:09:54 -07:00
..
cxgbei.c cxgbei: Support iSCSI offload on T6. 2021-05-28 16:45:29 -07:00
cxgbei.h cxgbei: Support iSCSI offload on T6. 2021-05-28 16:45:29 -07:00
icl_cxgbei.c cxgbei: Better handle new tasks and transfers when disconnecting. 2021-06-22 16:09:54 -07:00