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(-) -- 1.8.3.1 -- To unsubscribe from this list: send the line "unsubscribe linux-sctp" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html