]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7f096c861f81eb80974ef6dab381b99b3f2b983f
treec36892d5bab8a46b5c25b4fd727d4c8bfe17aac2
parent505546886eb5869899d88d758862edfe883d7ec7
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: 33acbcec9b50 ("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