diff options
author | Rohit Maheshwari <rohitm@chelsio.com> | 2020-11-09 16:21:31 +0530 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-11 16:30:37 -0800 |
commit | 9d2e5e9eeb59524a59b461fe256139826d464e1e (patch) | |
tree | e6f7a5224b9993c13c3aaa50a6e84b7d63c6a85c /drivers/scsi/bnx2i/57xx_iscsi_hsi.h | |
parent | 361182308766a265b6c521879b34302617a8c209 (diff) |
cxgb4/ch_ktls: decrypted bit is not enough
If skb has retransmit data starting before start marker, e.g. ccs,
decrypted bit won't be set for that, and if it has some data to
encrypt, then it must be given to crypto ULD. So in place of
decrypted, check if socket is tls offloaded. Also, unless skb has
some data to encrypt, no need to give it for tls offload handling.
v2->v3:
- Removed ifdef.
Fixes: 5a4b9fe7fece ("cxgb4/chcr: complete record tx handling")
Signed-off-by: Rohit Maheshwari <rohitm@chelsio.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/scsi/bnx2i/57xx_iscsi_hsi.h')
0 files changed, 0 insertions, 0 deletions