This patchset is to factor out some common code for sctp_sendmsg_new_asoc() and __sctp_connect() into 2 new functioins. Xin Long (4): sctp: check addr_size with sa_family_t size in __sctp_setsockopt_connectx sctp: clean up __sctp_connect sctp: factor out sctp_connect_new_asoc sctp: factor out sctp_connect_add_peer net/sctp/socket.c | 377 +++++++++++++++++++++--------------------------------- 1 file changed, 147 insertions(+), 230 deletions(-) -- 2.1.0