John Baldwin 2eb0e53a6b cxgbei: Wait for the final CPL to be received in icl_cxgbei_conn_close.
A socket in the FIN_WAIT_1 state is marked disconnected by
do_close_con_rpl() even though there might still receive data pending.
This is because the socket at that point has set SBS_CANTRCVMORE which
causes the protocol layer to discard any data received before the FIN.
However, icl_cxgbei_conn_close needs to wait until all the data has
been discarded.  Replace the wait for SS_ISDISCONNECTED with instead
waiting for final_cpl_received() to be called.

Reported by:	Jithesh Arakkan @ Chelsio
Sponsored by:	Chelsio Communications
2021-08-12 08:48:35 -07:00
..
2021-08-10 20:44:27 -04:00
2021-08-08 10:16:06 +02:00
2020-10-02 18:18:01 +00:00
2021-03-26 10:59:11 -04:00
2021-07-07 11:05:46 +00:00
2020-02-03 17:35:11 +00:00
2021-04-27 19:07:33 +02:00
2021-01-13 18:43:51 +01:00
2021-07-03 20:06:48 +03:00
2021-06-24 16:35:40 +02:00
2020-04-18 02:52:59 +00:00
2020-07-01 00:33:16 +00:00
2020-02-03 17:35:11 +00:00
2021-08-08 10:16:06 +02:00
2021-08-08 10:16:06 +02:00
2021-04-12 13:47:55 -06:00
2021-08-08 10:16:06 +02:00
2021-03-05 17:33:39 -08:00
2020-03-24 21:28:48 +00:00
2021-07-31 08:00:16 -07:00
2020-04-18 02:53:09 +00:00
2021-08-10 20:44:27 -04:00
2021-08-10 21:27:54 -04:00
2021-08-10 20:44:27 -04:00
2021-07-17 23:25:56 -07:00
2020-08-31 15:03:23 +00:00
2020-09-18 16:48:08 +00:00
2020-02-07 19:53:07 +00:00
2019-10-21 18:07:11 +00:00
2020-11-19 03:59:21 +00:00
2021-08-08 10:16:06 +02:00
2021-08-10 20:44:27 -04:00
2021-08-10 20:44:27 -04:00
2021-08-10 20:44:27 -04:00
2021-08-10 20:44:27 -04:00
2021-01-07 17:05:30 -07:00
2021-08-08 10:16:06 +02:00
2020-10-05 19:58:55 +00:00
2019-10-21 18:07:40 +00:00
2019-10-21 18:07:44 +00:00
2020-12-11 21:40:38 +00:00
2021-08-08 10:16:06 +02:00
2021-07-15 12:38:42 +02:00
2021-07-17 18:03:39 -07:00