Skip to content
Commit 3a96bff2 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Keith Busch
Browse files

nvmet-tcp: fix a missing endianess conversion in nvmet_tcp_try_peek_pdu



No, a __le32 cast doesn't magically byteswap on big-endian systems..

Fixes: 70525e5d ("nvmet-tcp: peek icreq before starting TLS")
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarSagi Grimberg <sagi@grimberg.me>
Signed-off-by: default avatarKeith Busch <kbusch@kernel.org>
parent 2abd2c39
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment