From patchwork Mon Jul 19 16:53:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xin Long X-Patchwork-Id: 480307 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 103B5C07E9D for ; Mon, 19 Jul 2021 17:11:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D0DD060FDB for ; Mon, 19 Jul 2021 17:11:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350175AbhGSQ3M (ORCPT ); Mon, 19 Jul 2021 12:29:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33742 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241470AbhGSQ1F (ORCPT ); Mon, 19 Jul 2021 12:27:05 -0400 Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2CD58C07882A; Mon, 19 Jul 2021 09:31:50 -0700 (PDT) Received: by mail-wm1-x329.google.com with SMTP id l6so10795188wmq.0; Mon, 19 Jul 2021 09:53:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=hvVPJjlBWYw4kVSHvpSZZLNRhOEU+S0xEKG5MEzufL8=; b=BhWmKJjOT7/fxHQDBZz6EomALoJpz2KlmbywxK7xU8l+F0tTxszXo6nSeGawOzZyQ9 fSIJll4DVLfYF6Q4KXIfalDsohlxQ7xrQtMQop6HIRtZYvrPdv7LxIgVVIXXzgPDoz8I 7PwLpegveYV7QKnf1sHw0S7w0SpWOlv6NYiUU+PXoDJXEtZVSoCExF1PBXVWpwW82PNW CcZO1RGFuBZrMFBzwTqjrj5oydZrcmZ51pDJ9buK5LzI2rwiwDpAyPehbjaSxtaIrJFi uVUSDegRiFVKTrSjq2flKC3r0vrh9acfRaGsWA3gKlVb2V+UTJNOzpbnIwqqCOHHlgiq /A0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=hvVPJjlBWYw4kVSHvpSZZLNRhOEU+S0xEKG5MEzufL8=; b=G505yT+Ery8VHH9YweM+Oe4Ed4DkpekqcHm5jIqg5Wnj0k2v2YrIyLICK898fcH2uB gqZzYHDzFnweJRMDIi3owNYoG1M2TZqDwgza3/wLCENJOsD7MOTTtebY92umpACGcp0K DV9oZ9SvyfhKlVWOPmwcdHqReAnWn94z2o1og3WRxlJS3X1Zv8H/zSLs9GgszIqqFQeZ lnNlpxYyKkfLzKj/ZISqZ9Y9EGJQtm3blMXpTyQNx62yZCJ3CI5goL6O0vvgjLbTaDrU A0K9hq0Z/8JP8e69oOWQEslFXOSC2wKQCXr99YxIhuJMWWpFzfvdC/dXt6TZ1t7qlkrC c9uw== X-Gm-Message-State: AOAM530uFEREYZAzZBn5Ec576WyZJ9qMadpQBC2QBTnqQmDnrf4EiXkM MiYcG8IRm5R4SmRUcSwirDxiS/qwWyOUrg== X-Google-Smtp-Source: ABdhPJwFpUHp7eqiFo7tdnAmsitGxxkf93HHf97AM2b3/wHUX0mvgsjGbb+oBigK/ACsTmNiIN3Ztw== X-Received: by 2002:a1c:4c18:: with SMTP id z24mr33711432wmf.168.1626713605786; Mon, 19 Jul 2021 09:53:25 -0700 (PDT) Received: from localhost (nat-pool-bos-t.redhat.com. [66.187.233.206]) by smtp.gmail.com with ESMTPSA id p11sm20562149wro.78.2021.07.19.09.53.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Jul 2021 09:53:25 -0700 (PDT) From: Xin Long To: network dev , davem@davemloft.net, kuba@kernel.org, linux-sctp@vger.kernel.org Cc: Marcelo Ricardo Leitner , timo.voelker@fh-muenster.de Subject: [PATCH net 0/2] sctp: improve the pmtu probe in Search Complete state Date: Mon, 19 Jul 2021 12:53:21 -0400 Message-Id: X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Timo recently suggested to use the loss of (data) packets as indication to send pmtu probe for Search Complete state, which should also be implied by RFC8899. This patchset is to change the current one that is doing probe with current pmtu all the time. Xin Long (2): sctp: improve the code for pmtu probe send and recv update sctp: send pmtu probe only if packet loss in Search Complete state include/net/sctp/structs.h | 5 +++-- net/sctp/sm_statefuns.c | 15 ++++++------- net/sctp/transport.c | 45 +++++++++++++++++++++++--------------- 3 files changed, 37 insertions(+), 28 deletions(-)