Files
twx-linux/include/linux
Caleb Sander 3c72445dad nvme-tcp: fix nvme_tcp_term_pdu to match spec
[ Upstream commit aa01c67de5 ]

The FEI field of C2HTermReq/H2CTermReq is 4 bytes but not 4-byte-aligned
in the NVMe/TCP specification (it is located at offset 10 in the PDU).
Split it into two 16-bit integers in struct nvme_tcp_term_pdu
so no padding is inserted. There should also be 10 reserved bytes after.
There are currently no users of this type.

Fixes: fc221d0544 ("nvme-tcp: Add protocol header")
Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Caleb Sander <csander@purestorage.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-04-05 11:23:36 +02:00
..
2022-12-02 17:40:03 +01:00
2022-08-21 15:16:16 +02:00
2023-02-01 08:23:19 +01:00
2022-10-26 13:25:35 +02:00
2022-07-07 17:52:17 +02:00
2022-10-26 13:25:42 +02:00
2022-04-13 21:00:56 +02:00
2023-03-17 08:45:07 +01:00
2023-03-17 08:45:07 +01:00
2022-08-21 15:16:08 +02:00
2021-11-18 14:03:37 +01:00
2022-08-21 15:15:21 +02:00
2021-06-30 08:47:26 -04:00
2023-01-04 11:39:16 +01:00
2023-03-17 08:45:14 +01:00
2023-01-04 11:39:23 +01:00
2021-05-14 09:50:31 +02:00