mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-09 18:15:49 +00:00
nvmet-tcp: fix a missing endianess conversion in nvmet_tcp_try_peek_pdu
[ Upstream commit3a96bff229] No, a __le32 cast doesn't magically byteswap on big-endian systems.. Fixes:70525e5d82("nvmet-tcp: peek icreq before starting TLS") Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Keith Busch <kbusch@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
c32d355f50
commit
43bfda92f2
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue