All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next 0/3] sctp: Introduce sctp_flush_ctx
@ 2018-05-11 23:29 ` Marcelo Ricardo Leitner
  0 siblings, 0 replies; 8+ messages in thread
From: Marcelo Ricardo Leitner @ 2018-05-11 23:29 UTC (permalink / raw)
  To: netdev; +Cc: linux-sctp, Neil Horman, Vlad Yasevich, Xin Long

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.

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 | 259 ++++++++++++++++++++++++----------------------------
 1 file changed, 119 insertions(+), 140 deletions(-)

--
2.14.3

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

end of thread, other threads:[~2018-05-11 23:30 UTC | newest]

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.