Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9faf1c0f authored by Xin Long's avatar Xin Long Committed by David S. Miller
Browse files

sctp: drop unnecessary __packed from some stream reconf structures



commit 85c727b5 ("sctp: drop __packed from almost all SCTP structures")
has removed __packed from almost all SCTP structures. But there still are
three structures where it should be dropped.

This patch is to remove it from some stream reconf structures.

Signed-off-by: default avatarXin Long <lucien.xin@gmail.com>
Acked-by: default avatarMarcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent caa2858c
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -721,7 +721,7 @@ struct sctp_infox {
struct sctp_reconf_chunk {
	sctp_chunkhdr_t chunk_hdr;
	__u8 params[0];
} __packed;
};

struct sctp_strreset_outreq {
	sctp_paramhdr_t param_hdr;
@@ -729,12 +729,12 @@ struct sctp_strreset_outreq {
	__u32 response_seq;
	__u32 send_reset_at_tsn;
	__u16 list_of_streams[0];
} __packed;
};

struct sctp_strreset_inreq {
	sctp_paramhdr_t param_hdr;
	__u32 request_seq;
	__u16 list_of_streams[0];
} __packed;
};

#endif /* __LINUX_SCTP_H__ */