Re: [PATCHv2 net-next 0/5] sctp: clean up __sctp_connect function

2019-07-30 Thread David Miller
From: Marcelo Ricardo Leitner Date: Tue, 30 Jul 2019 16:42:31 -0300 > On Tue, Jul 30, 2019 at 08:38:18PM +0800, Xin Long wrote: >> This patchset is to factor out some common code for >> sctp_sendmsg_new_asoc() and __sctp_connect() into 2 >> new functioins. >> >> v1->v2: >> - add the patch 1/5

Re: [PATCHv2 net-next 0/5] sctp: clean up __sctp_connect function

2019-07-30 Thread Marcelo Ricardo Leitner
On Tue, Jul 30, 2019 at 08:38:18PM +0800, Xin Long wrote: > This patchset is to factor out some common code for > sctp_sendmsg_new_asoc() and __sctp_connect() into 2 > new functioins. > > v1->v2: > - add the patch 1/5 to avoid a slab-out-of-bounds warning. > - add some code comment for the che

[PATCHv2 net-next 0/5] sctp: clean up __sctp_connect function

2019-07-30 Thread Xin Long
This patchset is to factor out some common code for sctp_sendmsg_new_asoc() and __sctp_connect() into 2 new functioins. v1->v2: - add the patch 1/5 to avoid a slab-out-of-bounds warning. - add some code comment for the check change in patch 2/5. - remove unused 'addrcnt' as Marcelo noticed i