ch_ktls: missing handling of header alone
authorRohit Maheshwari <rohitm@chelsio.com>
Mon, 9 Nov 2020 10:51:36 +0000 (16:21 +0530)
committerJakub Kicinski <kuba@kernel.org>
Thu, 12 Nov 2020 00:30:37 +0000 (16:30 -0800)
commit83deb094dd5c636a790da3914008570c9fd1693f
tree313f12cb79f54f161f90d3bb8171b711e89b226d
parentc68a28a9e2798a4602dde1c77046a3b577eb31f4
ch_ktls: missing handling of header alone

If an skb has only header part which doesn't start from
beginning, is not being handled properly.

Fixes: dc05f3df8fac ("chcr: Handle first or middle part of 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