Re: [PATCH net] sctp: fix the transport error_count check

2019-08-13 Thread Jakub Kicinski
On Tue, 13 Aug 2019 13:27:34 -0300, Marcelo Ricardo Leitner wrote: > On Mon, Aug 12, 2019 at 08:49:12PM +0800, Xin Long wrote: > > As the annotation says in sctp_do_8_2_transport_strike(): > > > > "If the transport error count is greater than the pf_retrans > >threshold, and less than pathma

Re: [PATCH net] sctp: fix the transport error_count check

2019-08-13 Thread Marcelo Ricardo Leitner
On Mon, Aug 12, 2019 at 08:49:12PM +0800, Xin Long wrote: > As the annotation says in sctp_do_8_2_transport_strike(): > > "If the transport error count is greater than the pf_retrans >threshold, and less than pathmaxrtx ..." > > It should be transport->error_count checked with pathmaxrxt, >

[PATCH net] sctp: fix the transport error_count check

2019-08-12 Thread Xin Long
As the annotation says in sctp_do_8_2_transport_strike(): "If the transport error count is greater than the pf_retrans threshold, and less than pathmaxrtx ..." It should be transport->error_count checked with pathmaxrxt, instead of asoc->pf_retrans. Fixes: 5aa93bcf66f4 ("sctp: Implement qui