Skip to content

Further SCTP changes

Daniel Borkmann linux-sctp netdev 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest6 patches 2 repliesIn review
  2. v16 patches 2 repliesSuperseded

Changes in v3 from the cover letter

- Just changed "net: sctp: decouple cleaning some socket data from endpoint" patch description slightly and made assignment explicit as Vlad requested
- Rest is unchanged

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6net: sctp: remove TEST_FRAME ifdefinclude/net/sctp/sctp.h+0 -70 replies
2/6ktime: add ms_to_ktime() and ktime_add_ms() helpersinclude/linux/ktime.h+13 -00 replies
3/6net: sctp: migrate cookie life from timeval to ktimeinclude/net/sctp/sctp.h include/net/sctp/structs.h net/sctp/associola.c +2 more+15 -500 replies
4/6net: sctp: minor: sctp_seq_dump_local_addrs add missing newlinenet/sctp/proc.c+1 -10 replies
5/6net: sctp: decouple cleaning some socket data from endpointnet/sctp/endpointola.c net/sctp/socket.c+25 -100 replies
6/6net: sctp: simplify sctp_get_portnet/sctp/socket.c+1 -40 replies

Reviews trailers per patch

None of the 6 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchVlad Yasevich
SeriesA-b
1/6
2/6
3/6
4/6
5/6
6/6

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

Read the v3 thread

Cover letter [PATCH net-next v3 0/6] Further SCTP changes

Mostly it's all about getting rid of unnecessary code, and/or making it more clean and readable. Code has been tested with lksctp-tools functional test suite and also my small sctp stress test helper that was used to discover the recent null-ptr derefs.

v2->v3:
- Just changed "net: sctp: decouple cleaning some socket data from endpoint" patch description slightly and made assignment explicit as Vlad requested
- Rest is unchanged
v1->v2:
- Left sctp_put_port() still in sctp_endpoint_destroy() for now
- Added minor "net: sctp: simplify sctp_get_port" patch

Daniel Borkmann (6):
net: sctp: remove TEST_FRAME ifdef
ktime: add ms_to_ktime() and ktime_add_ms() helpers
net: sctp: migrate cookie life from timeval to ktime
net: sctp: minor: sctp_seq_dump_local_addrs add missing newline
net: sctp: decouple cleaning some socket data from endpoint
net: sctp: simplify sctp_get_port

 include/linux/ktime.h      | 13 +++++++++++++
 include/net/sctp/sctp.h    | 25 -------------------------
 include/net/sctp/structs.h |  6 +++---
 net/sctp/associola.c       |  8 +-------
 net/sctp/endpointola.c     | 19 ++++++++++---------
 net/sctp/proc.c            |  2 +-
 net/sctp/sm_make_chunk.c   | 19 ++++++++-----------
 net/sctp/socket.c          | 35 +++++++++++++++++++----------------
 8 files changed, 55 insertions(+), 72 deletions(-)
Signature · 1 line
1.7.11.7