[PATCH net-next] sctp: Remove unused payload from sctp_idatahdr

From: Thorsten Blum
Date: Sun Feb 23 2025 - 15:47:05 EST


Remove the unused payload array from the struct sctp_idatahdr.

Cc: Kees Cook <kees@xxxxxxxxxx>
Signed-off-by: Thorsten Blum <thorsten.blum@xxxxxxxxx>
---
include/linux/sctp.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/include/linux/sctp.h b/include/linux/sctp.h
index 836a7e200f39..0b0228578153 100644
--- a/include/linux/sctp.h
+++ b/include/linux/sctp.h
@@ -239,7 +239,6 @@ struct sctp_idatahdr {
__u32 ppid;
__be32 fsn;
};
- __u8 payload[0];
};

struct sctp_idata_chunk {
--
2.48.1