Re: [PATCH net-next v2 2/3] sctp: add asoc and packet to sctp_flush_ctx

2018-05-13 Thread Marcelo Ricardo Leitner
On Sat, May 12, 2018 at 07:21:51PM -0300, Marcelo Ricardo Leitner wrote: > @@ -1043,20 +1038,17 @@ static bool sctp_outq_flush_rtx(struct sctp_flush_ctx > *ctx, > static void sctp_outq_flush_data(struct sctp_flush_ctx *ctx, >int rtx_timeout) > { > - struct sct

[PATCH net-next v2 2/3] sctp: add asoc and packet to sctp_flush_ctx

2018-05-12 Thread Marcelo Ricardo Leitner
Pre-compute these so the compiler won't reload them (due to no-strict-aliasing). Signed-off-by: Marcelo Ricardo Leitner --- net/sctp/outqueue.c | 99 - 1 file changed, 45 insertions(+), 54 deletions(-) diff --git a/net/sctp/outqueue.c b/net/sc