]> git.baikalelectronics.ru Git - kernel.git/commit
ch_ktls: Correction in finding correct length
authorRohit Maheshwari <rohitm@chelsio.com>
Mon, 9 Nov 2020 10:51:32 +0000 (16:21 +0530)
committerJakub Kicinski <kuba@kernel.org>
Thu, 12 Nov 2020 00:30:37 +0000 (16:30 -0800)
commit42e0d367adb0ea6993936050d246d09fdb33f901
treec49f7c1e8a44ef3870984d3d1535078f9a7af689
parentd8119762029fe2345ff3339620f601b629d05205
ch_ktls: Correction in finding correct length

There is a possibility of linear skbs coming in. Correcting
the length extraction logic.

v2->v3:
- Separated un-related changes from this patch.

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