Re: [PATCHv2 net-next 1/3] sctp: add stream arrays in asoc

2017-01-06 Thread Xin Long
On Wed, Jan 4, 2017 at 9:39 PM, Marcelo Ricardo Leitner wrote: > On Tue, Jan 03, 2017 at 01:59:46PM +0800, Xin Long wrote: >> This patch is to add streamout and streamin arrays in asoc, initialize >> them in sctp_process_init and free them in sctp_association_free. >> >> Stream arrays are used to

Re: [PATCHv2 net-next 1/3] sctp: add stream arrays in asoc

2017-01-04 Thread Marcelo Ricardo Leitner
On Tue, Jan 03, 2017 at 01:59:46PM +0800, Xin Long wrote: > This patch is to add streamout and streamin arrays in asoc, initialize > them in sctp_process_init and free them in sctp_association_free. > > Stream arrays are used to replace ssnmap to save more stream things in > the next patch. > > S

[PATCHv2 net-next 1/3] sctp: add stream arrays in asoc

2017-01-02 Thread Xin Long
This patch is to add streamout and streamin arrays in asoc, initialize them in sctp_process_init and free them in sctp_association_free. Stream arrays are used to replace ssnmap to save more stream things in the next patch. Signed-off-by: Xin Long --- include/net/sctp/structs.h | 18 +++