From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Ricardo Leitner Subject: Re: [PATCH net-next 4/8] sctp: implement report_ftsn for sctp_stream_interleave Date: Tue, 12 Dec 2017 11:25:14 -0200 Message-ID: <20171212132514.GC3532@localhost.localdomain> References: <5bdf9baf00c367ec91c1e06986be77835be7e451.1513070662.git.lucien.xin@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: network dev , linux-sctp@vger.kernel.org, Neil Horman , davem@davemloft.net To: Xin Long Return-path: Received: from mx1.redhat.com ([209.132.183.28]:56086 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752295AbdLLNZR (ORCPT ); Tue, 12 Dec 2017 08:25:17 -0500 Content-Disposition: inline In-Reply-To: <5bdf9baf00c367ec91c1e06986be77835be7e451.1513070662.git.lucien.xin@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: On Tue, Dec 12, 2017 at 05:25:55PM +0800, Xin Long wrote: > report_ftsn is added as a member of sctp_stream_interleave, used to > skip tsn from tsnmap, remove old events from reasm or lobby queue, > and abort pd for data or idata, called for SCTP_CMD_REPORT_FWDTSN > cmd and asoc reset. > > sctp_report_iftsn works for ifwdtsn, and sctp_report_fwdtsn works > for fwdtsn. Note that sctp_report_iftsn doesn't do asoc abort_pd, > as stream abort_pd will be done when handling ifwdtsn. But when > ftsn is equal with ftsn, which means asoc reset, asoc abot_pd has nit... aboRt ^^^^ :-) From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Ricardo Leitner Date: Tue, 12 Dec 2017 13:25:14 +0000 Subject: Re: [PATCH net-next 4/8] sctp: implement report_ftsn for sctp_stream_interleave Message-Id: <20171212132514.GC3532@localhost.localdomain> List-Id: References: <5bdf9baf00c367ec91c1e06986be77835be7e451.1513070662.git.lucien.xin@gmail.com> In-Reply-To: <5bdf9baf00c367ec91c1e06986be77835be7e451.1513070662.git.lucien.xin@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Xin Long Cc: network dev , linux-sctp@vger.kernel.org, Neil Horman , davem@davemloft.net On Tue, Dec 12, 2017 at 05:25:55PM +0800, Xin Long wrote: > report_ftsn is added as a member of sctp_stream_interleave, used to > skip tsn from tsnmap, remove old events from reasm or lobby queue, > and abort pd for data or idata, called for SCTP_CMD_REPORT_FWDTSN > cmd and asoc reset. > > sctp_report_iftsn works for ifwdtsn, and sctp_report_fwdtsn works > for fwdtsn. Note that sctp_report_iftsn doesn't do asoc abort_pd, > as stream abort_pd will be done when handling ifwdtsn. But when > ftsn is equal with ftsn, which means asoc reset, asoc abot_pd has nit... aboRt ^^^^ :-)