]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - net/sctp/sm_sideeffect.c
sctp: use transport pf_retrans in sctp_do_8_2_transport_strike
authorXin Long <lucien.xin@gmail.com>
Mon, 2 Sep 2019 15:24:21 +0000 (23:24 +0800)
committerKhalid Elmously <khalid.elmously@canonical.com>
Thu, 26 Sep 2019 04:34:52 +0000 (00:34 -0400)
commita1496a67a3c6dc24ab60e759fe3ce6eebfdb5961
tree686ae60f76244abe437605b7b4fc4f6c7ad07861
parentd95c7c7e47d5d0dc7ab55ac6c80aea63eaecf6ee
sctp: use transport pf_retrans in sctp_do_8_2_transport_strike

BugLink: https://bugs.launchpad.net/bugs/1845266
[ Upstream commit 10eb56c582c557c629271f1ee31e15e7a9b2558b ]

Transport should use its own pf_retrans to do the error_count
check, instead of asoc's. Otherwise, it's meaningless to make
pf_retrans per transport.

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>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
net/sctp/sm_sideeffect.c