]> git.baikalelectronics.ru Git - kernel.git/commit
ch_ktls: don't free skb before sending FIN
authorRohit Maheshwari <rohitm@chelsio.com>
Mon, 9 Nov 2020 10:51:39 +0000 (16:21 +0530)
committerJakub Kicinski <kuba@kernel.org>
Thu, 12 Nov 2020 00:30:38 +0000 (16:30 -0800)
commit3505c6ee54e26874461cceaccc2d62b5ca1b8081
treeb49efe8ba780d17b6b0ff3e91828ca469e043cd1
parentb8f37267dcdc03bdf537cc72d1cd2bf229e3f918
ch_ktls: don't free skb before sending FIN

If its a last packet and fin is set. Make sure FIN is informed
to HW before skb gets freed.

Fixes: 853b9de1dade ("chcr: handle partial end part of a record")
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