Skip to content

Further SCTP changes

Daniel Borkmann linux-sctp netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5net: sctp: remove TEST_FRAME ifdefinclude/net/sctp/sctp.h+0 -70 replies
2/5ktime: add ms_to_ktime() and ktime_add_ms() helpersinclude/linux/ktime.h+13 -00 replies
3/5net: 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/5net: sctp: decouple cleaning socket data from endpointnet/sctp/endpointola.c net/sctp/socket.c+19 -812 replies
5/5net: sctp: minor: sctp_seq_dump_local_addrs add missing newlinenet/sctp/proc.c+1 -10 replies

Reviews trailers per patch

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

PatchNeil Horman
SeriesA-b
1/5
2/5
3/5
4/5
5/5

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/5] 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. This test was also sucessfully run against auth_enabled=0 and auth_enabled=1, where I also previously applied the following two patches:

- http://marc.info/?l=linux-crypto-vger&m7121898331017&w=2

    -> not yet applied, still pending review for crypto tree
  - 1abd165 (net: sctp: fix NULL pointer dereference in socket destruction)
    -> cherry picked from net tree

Daniel Borkmann (5):
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: decouple cleaning socket data from endpoint
net: sctp: minor: sctp_seq_dump_local_addrs add missing newline

 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     |  7 -------
 net/sctp/proc.c            |  2 +-
 net/sctp/sm_make_chunk.c   | 19 ++++++++-----------
 net/sctp/socket.c          | 34 ++++++++++++++++++++++------------
 8 files changed, 48 insertions(+), 66 deletions(-)
Signature · 1 line
1.7.11.7