linux-yocto/drivers/nvme
Maurizio Lombardi 6a466ac72f nvmet-tcp: fix callback lock for TLS handshake
[ Upstream commit 0523c6cc87 ]

When restoring the default socket callbacks during a TLS handshake, we
need to acquire a write lock on sk_callback_lock.  Previously, a read
lock was used, which is insufficient for modifying sk_user_data and
sk_data_ready.

Fixes: 675b453e02 ("nvmet-tcp: enable TLS handshake upcall")
Signed-off-by: Maurizio Lombardi <mlombard@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-07-24 08:56:31 +02:00
..
common move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
host nvme: fix misaccounting of nvme-mpath inflight I/O 2025-07-24 08:56:31 +02:00
target nvmet-tcp: fix callback lock for TLS handshake 2025-07-24 08:56:31 +02:00
Kconfig
Makefile