logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git

0014-Remove-flexible-array-member-in-embedded-struct.patch (726B)


  1. From 32f3e01aeae44068c040bb999f8e7ece8609dba5 Mon Sep 17 00:00:00 2001
  2. From: Michael Forney <mforney@mforney.org>
  3. Date: Sat, 4 Dec 2021 00:50:36 -0800
  4. Subject: [PATCH] Remove flexible array member in embedded struct
  5. ---
  6. include/uapi/linux/sctp.h | 2 +-
  7. 1 file changed, 1 insertion(+), 1 deletion(-)
  8. diff --git a/include/uapi/linux/sctp.h b/include/uapi/linux/sctp.h
  9. index 53fdfafc..3a98a867 100644
  10. --- a/include/uapi/linux/sctp.h
  11. +++ b/include/uapi/linux/sctp.h
  12. @@ -577,7 +577,7 @@ struct sctp_stream_reset_event {
  13. __u16 strreset_flags;
  14. __u32 strreset_length;
  15. sctp_assoc_t strreset_assoc_id;
  16. - __u16 strreset_stream_list[];
  17. + __u16 strreset_stream_list[0];
  18. };
  19. #define SCTP_ASSOC_RESET_DENIED 0x0004
  20. --
  21. 2.34.0