diff options
author | 2025-07-04 16:44:54 +0200 | |
---|---|---|
committer | 2025-07-15 09:49:13 +0200 | |
commit | 0523c6cc87e558c50ff4489c87c54c55068b1169 (patch) | |
tree | 9f0f24498a5c72802e76e592029237d0a84d2350 /rust/pin-init/internal/src | |
parent | nvme: fix misaccounting of nvme-mpath inflight I/O (diff) | |
download | wireguard-linux-0523c6cc87e558c50ff4489c87c54c55068b1169.tar.xz wireguard-linux-0523c6cc87e558c50ff4489c87c54c55068b1169.zip |
nvmet-tcp: fix callback lock for TLS handshake
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: 675b453e0241 ("nvmet-tcp: enable TLS handshake upcall")
Signed-off-by: Maurizio Lombardi <mlombard@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'rust/pin-init/internal/src')
0 files changed, 0 insertions, 0 deletions