OSDN Git Service

ch_ktls: tcb close causes tls connection failure
authorVinay Kumar Yadav <vinay.yadav@chelsio.com>
Thu, 15 Apr 2021 07:47:47 +0000 (13:17 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Apr 2021 23:55:49 +0000 (16:55 -0700)
commit21d8c25e3f4b9052a471ced8f47b531956eb9963
tree8ee86f2b12d8f192e33c1dd9c6f0ffff181516cc
parentbc16efd2430652f894ae34b1de5eccc3bf0d2810
ch_ktls: tcb close causes tls connection failure

HW doesn't need marking TCB closed. This TCB state change
sometimes causes problem to the new connection which gets
the same tid.

Fixes: 34aba2c45024 ("cxgb4/chcr : Register to tls add and del callback")
Signed-off-by: Vinay Kumar Yadav <vinay.yadav@chelsio.com>
Signed-off-by: Rohit Maheshwari <rohitm@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/chcr_ktls.c