Skip to content

sctp: Introduce sctp_flush_ctx

Marcelo Ricardo Leitner linux-sctp netdev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 1 replyIn review
  2. v23 patches 1 replySuperseded
  3. v13 patches 0 repliesSuperseded

Changes in v3 from the cover letter

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

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3sctp: add sctp_flush_ctx, a context struct on outq_flush routinesnet/sctp/outqueue.c+88 -940 replies
2/3sctp: add asoc and packet to sctp_flush_ctxnet/sctp/outqueue.c+44 -530 replies
3/3sctp: checkpatch fixupsnet/sctp/outqueue.c+7 -130 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH net-next v3 0/3] sctp: Introduce sctp_flush_ctx

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(-)

--
2.14.3