diff options
author | Xin Long <lucien.xin@gmail.com> | 2017-02-09 01:18:15 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-09 16:57:38 -0500 |
commit | 9faf1c0fd5a943e498dbc0c86ff42e965b347d08 (patch) | |
tree | bd91f396be901530b5af8f5659f1e83504283d2a /include/linux/sctp.h | |
parent | caa2858cd51c54fabd48c486b1b150ead539b872 (diff) | |
download | lwn-9faf1c0fd5a943e498dbc0c86ff42e965b347d08.tar.gz lwn-9faf1c0fd5a943e498dbc0c86ff42e965b347d08.zip |
sctp: drop unnecessary __packed from some stream reconf structures
commit 85c727b59483 ("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: Xin Long <lucien.xin@gmail.com>
Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/sctp.h')
-rw-r--r-- | include/linux/sctp.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/sctp.h b/include/linux/sctp.h index 2408c6877ca0..d74fca3f3141 100644 --- a/include/linux/sctp.h +++ b/include/linux/sctp.h @@ -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__ */ |