Skip to content

RFC sctp accept socket fix

Daniel Borkmann linux-sctp 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3net: sock: introduce sock_sanitizenet/core/sock.c+102 -920 replies
2/3net: sock: add sk_copy_sanitize for use in modulesinclude/net/sock.h net/core/sock.c+11 -50 replies
3/3net: sctp: use sk_copy_sanitize for accept socketsinclude/net/sctp/sctp.h net/sctp/ipv6.c net/sctp/protocol.c +1 more+75 -551 reply

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchDaniel Borkmann
1/3
2/3
3/3Not-yet-signed-off-by

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

Read the v1 thread

Cover letter [RFC PATCH net-next 0/3] sctp accept socket fix

lksctp-tools test suite seems to work just fine with this set.

Found a bit of time, so I continued on this, still on TODO for after Xmas:

- Peeled-off sockets, shall we treat them just like accepted sockets and do a flat copy here, or do we want to avoid this for some reasons?
- Polish up commit messages, further stress tests

Daniel Borkmann (3):
net: sock: introduce sock_sanitize
net: sock: add sk_copy_sanitize for use in modules
net: sctp: use sk_copy_sanitize for accept sockets

 include/net/sctp/sctp.h |   4 +-
 include/net/sock.h      |   1 +
 net/core/sock.c         | 197 ++++++++++++++++++++++++++----------------------
 net/sctp/ipv6.c         |  11 ++-
 net/sctp/protocol.c     |  13 ++--
 net/sctp/socket.c       | 102 +++++++++++++++----------
 6 files changed, 182 insertions(+), 146 deletions(-)
Signature · 1 line
1.8.3.1