]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Sep 2019 22:29:21 +0000 (00:29 +0200)
commit3e237bc5e913af45fd37b9ea22e31fdc6b4280d8
tree63fc9ff90de5721bf66f756baf7eae4b1906a18c
parent08980bd2329848418fa176310801cf184a7de535
sctp: use transport pf_retrans in sctp_do_8_2_transport_strike

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: ecdfca015bbb ("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>
net/sctp/sm_sideeffect.c