Skip to content

Minor SCTP cleanups all over the place

Daniel Borkmann linux-sctp netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 24 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9net: sctp: sctp_ssnmap: remove 'malloced' element from structinclude/net/sctp/structs.h net/sctp/ssnmap.c+12 -124 replies
2/9net: sctp: sctp_inq: remove dead codeinclude/net/sctp/structs.h net/sctp/inqueue.c+0 -91 reply
3/9net: sctp: sctp_outq: remove 'malloced' from its structinclude/net/sctp/structs.h net/sctp/outqueue.c+0 -91 reply
4/9net: sctp: sctp_outq: consolidate chars into bitfieldinclude/net/sctp/structs.h+3 -88 replies
5/9net: sctp: outqueue: simplify sctp_outq_uncork functionnet/sctp/outqueue.c+2 -31 reply
6/9net: sctp: sctp_transport: remove unused variableinclude/net/sctp/structs.h net/sctp/transport.c+1 -51 reply
7/9net: sctp: sctp_bind_addr: remove dead codeinclude/net/sctp/structs.h net/sctp/bind_addr.c+0 -91 reply
8/9net: sctp: sctp_ulpq: remove 'malloced' struct memberinclude/net/sctp/ulpqueue.h net/sctp/ulpqueue.c+0 -41 reply
9/9net: sctp: sctp_ulpq: do not use char as a struct memberinclude/net/sctp/ulpqueue.h+1 -14 replies

Reviews trailers per patch

7 of 9 patches have a Reviewed-by or Acked-by.

PatchNeil Horman
1/9
2/9A-b
3/9A-b
4/9A-b
5/9A-b
6/9A-b
7/9A-b
8/9A-b
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/9] Minor SCTP cleanups all over the place

That's a batch of cleanups for the SCTP protocol. Probably all deadly boring and trivial patches, but it always bugs me. :-) I guess this is still from the very SCTP beginning in Linux. Well, at least we can now remove 41 lines of code in total. lksctp-tools test suite run through without problems.

Daniel Borkmann (9):
net: sctp: sctp_ssnmap: remove 'malloced' element from struct
net: sctp: sctp_inq: remove dead code
net: sctp: sctp_outq: remove 'malloced' from its struct
net: sctp: sctp_outq: consolidate chars into bitfield
net: sctp: outqueue: simplify sctp_outq_uncork function
net: sctp: sctp_transport: remove unused variable
net: sctp: sctp_bind_addr: remove dead code
net: sctp: sctp_ulpq: remove 'malloced' struct member
net: sctp: sctp_ulpq: do not use char as a struct member

 include/net/sctp/structs.h  | 24 ++++--------------------
 include/net/sctp/ulpqueue.h |  3 +--
 net/sctp/bind_addr.c        |  7 -------
 net/sctp/inqueue.c          |  7 -------
 net/sctp/outqueue.c         | 11 ++---------
 net/sctp/ssnmap.c           | 23 ++++++++++++-----------
 net/sctp/transport.c        |  1 -
 net/sctp/ulpqueue.c         |  3 ---
 8 files changed, 19 insertions(+), 60 deletions(-)
Signature · 1 line
1.7.11.7