Re: [PATCH net-next] sctp: drop __packed from almost all SCTP structures

2017-02-07 Thread David Miller
From: Marcelo Ricardo Leitner Date: Tue, 7 Feb 2017 11:37:56 -0200 > __packed is considered harmful as it potentially generates code that > doesn't perform well and its usage should be avoided as much as > possible. > > This patch drops __packed from all SCTP structures except one, which is > s

[PATCH net-next] sctp: drop __packed from almost all SCTP structures

2017-02-07 Thread Marcelo Ricardo Leitner
__packed is considered harmful as it potentially generates code that doesn't perform well and its usage should be avoided as much as possible. This patch drops __packed from all SCTP structures except one, which is sctp_signed_cookie. In there it's required, as per changelog on commit 9834a2bb4970