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

Thorsten Blum posted 1 patch 9 months, 3 weeks ago
include/linux/sctp.h | 1 -
1 file changed, 1 deletion(-)
[PATCH net-next] sctp: Remove unused payload from sctp_idatahdr
Posted by Thorsten Blum 9 months, 3 weeks ago
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>
---
 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