Caleb Sander
869bb1932b
nvme-tcp: fix nvme_tcp_term_pdu to match spec
...
[ Upstream commit aa01c67de5926fdb276793180564f172c55fb0d7 ]
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-03-30 12:49:09 +02:00
..
2022-11-24 16:01:04 +01:00
2023-02-22 12:59:45 +01:00
2023-01-12 12:02:47 +01:00
2022-12-31 13:32:41 +01:00
2023-03-11 13:55:28 +01:00
2023-03-10 09:33:08 +01:00
2023-02-14 19:11:47 +01:00
2022-11-18 10:39:22 +01:00
2023-01-18 11:58:24 +01:00
2023-01-12 12:02:26 +01:00
2023-02-01 08:34:33 +01:00
2022-12-31 13:33:04 +01:00
2023-01-24 07:24:40 +01:00
2023-01-12 12:01:56 +01:00
2023-03-30 12:49:05 +02:00
2023-02-01 08:34:46 +01:00
2023-03-22 13:33:46 +01:00
2023-03-11 11:03:45 +01:00
2023-03-11 13:55:32 +01:00
2023-01-07 11:11:41 +01:00
2023-03-10 09:33:06 +01:00
2022-12-31 13:33:02 +01:00
2022-12-09 18:41:17 -08:00
2023-03-10 09:33:47 +01:00
2022-12-31 13:31:58 +01:00
2023-01-07 11:11:40 +01:00
2023-03-10 09:33:37 +01:00
2023-02-09 11:28:17 +01:00
2023-01-18 11:58:12 +01:00
2023-01-04 11:28:48 +01:00
2022-11-22 18:50:44 -08:00
2023-03-22 13:34:04 +01:00
2022-12-31 13:32:31 +01:00
2023-01-07 11:11:59 +01:00
2023-03-03 11:52:25 +01:00
2022-11-23 10:31:13 -08:00
2023-03-10 09:33:37 +01:00
2022-11-30 14:49:40 -08:00
2023-03-17 08:50:17 +01:00
2023-02-09 11:28:23 +01:00
2022-12-31 13:32:33 +01:00
2023-02-22 12:59:49 +01:00
2022-12-31 13:32:56 +01:00
2022-12-31 13:32:01 +01:00
2023-03-10 09:34:15 +01:00
2023-03-22 13:33:57 +01:00
2022-11-17 12:33:33 -07:00
2023-03-10 09:32:51 +01:00
2023-03-10 09:33:29 +01:00
2023-03-10 09:34:13 +01:00
2022-11-17 10:50:07 -05:00
2023-03-10 09:34:20 +01:00
2022-11-30 14:49:42 -08:00
2023-01-07 11:12:02 +01:00
2023-02-09 11:28:21 +01:00
2023-03-17 08:50:19 +01:00
2023-02-22 12:59:54 +01:00
2023-03-22 13:33:46 +01:00
2023-03-11 13:55:24 +01:00
2023-03-10 09:33:24 +01:00
2023-02-25 11:25:41 +01:00
2023-03-30 12:49:09 +02:00
2023-01-04 11:28:52 +01:00
2023-02-09 11:28:24 +01:00
2023-03-30 12:49:05 +02:00
2023-01-24 07:24:41 +01:00
2023-03-17 08:50:31 +01:00
2023-03-22 13:33:45 +01:00
2022-11-30 14:49:41 -08:00
2023-03-10 09:33:46 +01:00
2023-01-07 11:11:39 +01:00
2022-12-31 13:32:09 +01:00
2023-02-25 11:25:39 +01:00
2023-02-25 11:25:39 +01:00
2023-03-10 09:33:48 +01:00
2023-03-10 09:34:25 +01:00
2023-03-10 09:32:42 +01:00
2023-03-22 13:33:54 +01:00
2023-02-22 12:59:46 +01:00
2022-12-31 13:32:20 +01:00
2023-03-30 12:49:05 +02:00
2022-12-09 18:41:16 -08:00
2023-02-01 08:34:26 +01:00
2022-12-31 13:31:56 +01:00
2023-01-18 11:58:10 +01:00
2023-02-14 19:11:54 +01:00
2022-11-16 21:52:05 -05:00
2023-03-22 13:33:59 +01:00
2023-03-10 09:33:34 +01:00
2023-03-10 09:33:52 +01:00
2023-02-09 11:28:04 +01:00
2023-01-24 07:24:34 +01:00
2023-02-09 11:28:01 +01:00
2023-03-10 09:34:34 +01:00