summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMartin Belanger <martin.belanger@dell.com>2026-11-12 16:13:34 -0500
committerKeith Busch <kbusch@kernel.org>2026-11-16 07:42:45 -0800
commit1193566c35ead643e954ff8356bb54b1cd78378a (patch)
treec85c58f7e689e48eb24f0e17d4c762f8eda62172 /tools/perf/scripts/python
parentbcd5316e708d418f03707c183571549ad878cfff (diff)
nvme-tcp: use an aligned buffer for the TLS record type
The buffers that receive the TLS record type are char arrays. put_cmsg() and tls_get_record_type() access them as struct cmsghdr, which needs a stricter alignment than a char array has. Use a union with struct cmsghdr, sized with CMSG_SPACE(), as svc_tcp_recv_cmsg() and xs_tls_read_record() in sunrpc do. Fixes: 2837966ab2a8 ("nvme-tcp: control message handling for recvmsg()") Cc: stable@vger.kernel.org Signed-off-by: Martin Belanger <martin.belanger@dell.com> Reviewed-by: Hannes Reinecke <hare@kernel.org> Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions