lkml.org 
[lkml]   [2019]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Date
    Subject[PATCH 3.16 65/83] sctp: use transport pf_retrans in sctp_do_8_2_transport_strike
    3.16.78-rc1 review patch.  If anyone has any objections, please let me know.

    ------------------

    From: Xin Long <lucien.xin@gmail.com>

    commit 10eb56c582c557c629271f1ee31e15e7a9b2558b upstream.

    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: Ben Hutchings <ben@decadent.org.uk>
    ---
    net/sctp/sm_sideeffect.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- a/net/sctp/sm_sideeffect.c
    +++ b/net/sctp/sm_sideeffect.c
    @@ -505,7 +505,7 @@ static void sctp_do_8_2_transport_strike
    */
    if ((transport->state == SCTP_ACTIVE) &&
    (transport->error_count < transport->pathmaxrxt) &&
    - (transport->error_count > asoc->pf_retrans)) {
    + (transport->error_count > transport->pf_retrans)) {

    sctp_assoc_control_transport(asoc, transport,
    SCTP_TRANSPORT_PF,
    \
     
     \ /
      Last update: 2019-11-20 16:42    [W:4.775 / U:0.032 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site