Re: [PATCH net-next 04/12] sctp: implement make_datafrag for sctp_stream_interleave

2017-12-05 Thread Marcelo Ricardo Leitner
On Tue, Dec 05, 2017 at 11:16:01PM +0800, Xin Long wrote: > To avoid hundreds of checks for the different process on I-DATA chunk, > struct sctp_stream_interleave is defined as a group of functions used > to replace the codes in some place where it needs to do different job > according to if the as

[PATCH net-next 04/12] sctp: implement make_datafrag for sctp_stream_interleave

2017-12-05 Thread Xin Long
To avoid hundreds of checks for the different process on I-DATA chunk, struct sctp_stream_interleave is defined as a group of functions used to replace the codes in some place where it needs to do different job according to if the asoc intl_enabled is set. With these ops, it only needs to initiali