summaryrefslogtreecommitdiffstats
path: root/net/xfrm/xfrm_state.c
diff options
context:
space:
mode:
authorCaleb Sander <csander@purestorage.com>2023-03-20 09:57:36 -0600
committerChristoph Hellwig <hch@lst.de>2023-03-22 09:19:56 +0100
commitaa01c67de5926fdb276793180564f172c55fb0d7 (patch)
treedd1ab337c4a58a228ff1aeb4d5d9258c27f1acb1 /net/xfrm/xfrm_state.c
parentdef84ab600b71ea3fcc422a876d5d0d0daa7d4f3 (diff)
downloadlinux-stable-aa01c67de5926fdb276793180564f172c55fb0d7.tar.gz
linux-stable-aa01c67de5926fdb276793180564f172c55fb0d7.tar.bz2
linux-stable-aa01c67de5926fdb276793180564f172c55fb0d7.zip
nvme-tcp: fix nvme_tcp_term_pdu to match spec
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: fc221d05447aa6db ("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>
Diffstat (limited to 'net/xfrm/xfrm_state.c')
0 files changed, 0 insertions, 0 deletions