]> 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)
commit79683c09348e8f08ff34458e9b818cda090361ce
treec49f7c1e8a44ef3870984d3d1535078f9a7af689
parent83fb4d1a5b3dd11a5865ac5a8a600b6c0409c773
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: 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