diff options
| author | Xin Long <lucien.xin@gmail.com> | 2019-08-12 20:49:12 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-08-25 10:53:06 +0200 |
| commit | de396052eea6168b0e9fa24cf7896cb6269b0e5d (patch) | |
| tree | b854b5290ccad727ef28c386bd215f7ca0efecad /sound/firewire/packets-buffer.c | |
| parent | 6ee6bf50580f2eeadf7db0c2fa29f3cda21996ce (diff) | |
sctp: fix the transport error_count check
[ Upstream commit a1794de8b92ea6bc2037f445b296814ac826693e ]
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 quick failover draft from tsvwg")
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/firewire/packets-buffer.c')
0 files changed, 0 insertions, 0 deletions
