sctp: add sctp_flush_ctx, a context struct on outq_flush routines
authorMarcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Mon, 14 May 2018 17:35:18 +0000 (14:35 -0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 May 2018 03:15:27 +0000 (23:15 -0400)
commitbb543847a9c1b3904180b22add5e522f1f6c11c7
treefe91d29a8b4619f2513d310578ae40f207d1e66b
parentab619905508817e62f62d64fb7f2e82bfcb759b9
sctp: add sctp_flush_ctx, a context struct on outq_flush routines

With this struct we avoid passing lots of variables around and taking care
of updating the current transport/packet.

Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/outqueue.c