]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
sctp: Remove unused payload from sctp_idatahdr
authorThorsten Blum <thorsten.blum@linux.dev>
Sun, 23 Feb 2025 20:45:07 +0000 (21:45 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 25 Feb 2025 14:18:45 +0000 (15:18 +0100)
Remove the unused payload array from the struct sctp_idatahdr.

Cc: Kees Cook <kees@kernel.org>
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Link: https://patch.msgid.link/20250223204505.2499-3-thorsten.blum@linux.dev
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
include/linux/sctp.h

index 812011d8b67e79ef9cd38d5f88c0b15b513f52ff..6719949135c96ebc6a2e27cd6c68295de74d8199 100644 (file)
@@ -238,7 +238,6 @@ struct sctp_idatahdr {
                __u32 ppid;
                __be32 fsn;
        };
-       __u8 payload[0];
 };
 
 struct sctp_idata_chunk {