On 06/25/2013 12:17 PM, Daniel Borkmann wrote:
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
Acked-by: Vlad Yasevich <vyasevich@xxxxxxxxx> -vlad
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(-)
-- 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