OSDN Git Service

ch_ktls: packet handling prior to start marker
authorRohit Maheshwari <rohitm@chelsio.com>
Mon, 9 Nov 2020 10:51:38 +0000 (16:21 +0530)
committerJakub Kicinski <kuba@kernel.org>
Thu, 12 Nov 2020 00:30:38 +0000 (16:30 -0800)
commit9478e083941c873d60a97b232760a14dec6c69d3
treec36892d5bab8a46b5c25b4fd727d4c8bfe17aac2
parent63ee4591fa2f97dc08ce37514f214fc0430e9dc3
ch_ktls: packet handling prior to start marker

There could be a case where ACK for tls exchanges prior to start
marker is missed out, and by the time tls is offloaded. This pkt
should not be discarded and handled carefully. It could be
plaintext alone or plaintext + finish as well.

Fixes: 5a4b9fe7fece ("cxgb4/chcr: complete record tx handling")
Signed-off-by: Rohit Maheshwari <rohitm@chelsio.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/chcr_ktls.c