]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8d5f88252529720fd845ca659e90cfc43fa2d4f6
treefe91d29a8b4619f2513d310578ae40f207d1e66b
parent2f206d8d6b2460b8bd69652181ceda88a5b814a9
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