]> 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)
commitb8f37267dcdc03bdf537cc72d1cd2bf229e3f918
treec36892d5bab8a46b5c25b4fd727d4c8bfe17aac2
parent40f566066a11f33b3234d0aebf1918385f0d7bd8
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: 06759b817af5 ("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