https://github.com/torvalds/linux
Revision d89b9f3bbb58e9e378881209756b0723694f22ff authored by Varun Prakash on 25 October 2021, 17:17:30 UTC, committed by Christoph Hellwig on 27 October 2021, 05:58:26 UTC
ddgst is of type __le32, &req->ddgst + req->offset
increases &req->ddgst by 4 * req->offset, fix this by
type casting &req->ddgst to u8 *.

Fixes: 3f2304f8c6d6 ("nvme-tcp: add NVMe over TCP host driver")
Signed-off-by: Varun Prakash <varun@chelsio.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
1 parent ce7723e
Raw File
Tip revision: d89b9f3bbb58e9e378881209756b0723694f22ff authored by Varun Prakash on 25 October 2021, 17:17:30 UTC
nvme-tcp: fix data digest pointer calculation
Tip revision: d89b9f3
Kconfig
# SPDX-License-Identifier: GPL-2.0
#
# For a description of the syntax of this configuration file,
# see Documentation/kbuild/kconfig-language.rst.
#
mainmenu "Linux/$(ARCH) $(KERNELVERSION) Kernel Configuration"

source "scripts/Kconfig.include"

source "init/Kconfig"

source "kernel/Kconfig.freezer"

source "fs/Kconfig.binfmt"

source "mm/Kconfig"

source "net/Kconfig"

source "drivers/Kconfig"

source "fs/Kconfig"

source "security/Kconfig"

source "crypto/Kconfig"

source "lib/Kconfig"

source "lib/Kconfig.debug"

source "Documentation/Kconfig"
back to top