netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v3 0/3] sctp: Introduce sctp_flush_ctx
@ 2018-05-14 17:35 Marcelo Ricardo Leitner
  2018-05-14 17:35 ` [PATCH net-next v3 1/3] sctp: add sctp_flush_ctx, a context struct on outq_flush routines Marcelo Ricardo Leitner
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Marcelo Ricardo Leitner @ 2018-05-14 17:35 UTC (permalink / raw)
  To: netdev; +Cc: linux-sctp, Neil Horman, Xin Long, Vlad Yasevich

This struct will hold all the context used during the outq flush, so we
don't have to pass lots of pointers all around.

Checked on x86_64, the compiler inlines all these functions and there is no
derreference added because of the struct.

This patchset depends on 'sctp: refactor sctp_outq_flush'

Changes since v1:
- updated to build on top of v2 of 'sctp: refactor sctp_outq_flush'

Changes since v2:
- fixed a rebase issue which reverted a change in patch 2.
- rebased on v3 of 'sctp: refactor sctp_outq_flush'

Marcelo Ricardo Leitner (3):
  sctp: add sctp_flush_ctx, a context struct on outq_flush routines
  sctp: add asoc and packet to sctp_flush_ctx
  sctp: checkpatch fixups

 net/sctp/outqueue.c | 257 ++++++++++++++++++++++++----------------------------
 1 file changed, 118 insertions(+), 139 deletions(-)

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-05-15  3:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-14 17:35 [PATCH net-next v3 0/3] sctp: Introduce sctp_flush_ctx Marcelo Ricardo Leitner
2018-05-14 17:35 ` [PATCH net-next v3 1/3] sctp: add sctp_flush_ctx, a context struct on outq_flush routines Marcelo Ricardo Leitner
2018-05-14 17:35 ` [PATCH net-next v3 2/3] sctp: add asoc and packet to sctp_flush_ctx Marcelo Ricardo Leitner
2018-05-14 17:35 ` [PATCH net-next v3 3/3] sctp: checkpatch fixups Marcelo Ricardo Leitner
2018-05-15  3:15 ` [PATCH net-next v3 0/3] sctp: Introduce sctp_flush_ctx David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).