Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3227334pxk; Mon, 21 Sep 2020 08:19:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxRttjZYHqOZR7ygOFzWizVHUr8hBrkP8SoMU+X+g983spy/B+z0TOlfFSDt/KHedpZln5D X-Received: by 2002:aa7:cb83:: with SMTP id r3mr145181edt.35.1600701573585; Mon, 21 Sep 2020 08:19:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600701573; cv=none; d=google.com; s=arc-20160816; b=Q8wGjDPfMq+FyxeS6pYoyeFXh1wIeRftGHphKVdDHm+AzKbZvAuMpQYKD9wp93nbbg IOzOxzto2STaiVc2Ul4S/a1yY9jscRBXnL21PNqxgK8s5Xl9J292+EJr3vJ5i/m/Tl7o jzmCnQLCyGb81RGI78I7BhYmyoAwIbFqLjrWTwDIygphWsB/SPlgtyrf/ohdQYQQ8DYK hyDvMaTp/HBcTaf5DwR5UvYVWCJ1DNNur1W3v3dW7iOUQwT0Yw4fQ2AOqwydcELMgIdI hnfgxi4P/0326h0JlI+ovXUx16SlcBHwF/fOOsXsV5H3hRIzN2S0BT7ltEA0JJU4nZmr mwUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=+0oIyuiL43c1vAuq2+oH/3oY5m+86YM1dQdDzSjxeuI=; b=LTP0P0MT6jx4WgKlMU5HhRaTXHd2GQl3a1Z2wj4hf7jbBop1pbVSePwtoEVZm9QzBV L6QT7r0GLa+9/HfLMR8tLpY6+ZaMRlI2e3LS/AUQHgPEuGu21p2I4VsgvAeofF62vyZZ CpnQOweQwxKwxcPRYAIwkFh+HmQBMgt6310CqbOoX0RFnFnlo/YEfS8Go+y3H72R8eUd UI5KihjprN6iRg0Q2metRxe/vniXEvfQWkBaUtWxlo+FWu2k44/XEYc0BFNqsEbbJkVV WPm0sBo+URiVwS7/kzuxoYwwEphcVfNEu3R+AKSJYgO6eUzT+rE26DcUaOxPxYMbEHKA /BTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tessares-net.20150623.gappssmtp.com header.s=20150623 header.b=c2p9jAMp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v3si8323462ejx.520.2020.09.21.08.19.09; Mon, 21 Sep 2020 08:19:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@tessares-net.20150623.gappssmtp.com header.s=20150623 header.b=c2p9jAMp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727337AbgIUPQA (ORCPT + 99 others); Mon, 21 Sep 2020 11:16:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48670 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726413AbgIUPQA (ORCPT ); Mon, 21 Sep 2020 11:16:00 -0400 Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 264AFC061755 for ; Mon, 21 Sep 2020 08:16:00 -0700 (PDT) Received: by mail-ej1-x634.google.com with SMTP id q13so18243617ejo.9 for ; Mon, 21 Sep 2020 08:16:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tessares-net.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=+0oIyuiL43c1vAuq2+oH/3oY5m+86YM1dQdDzSjxeuI=; b=c2p9jAMp6IfEMzWbxY8gNaB1MrjOJV/mBYR93G5sSAzdyaMuo5rhZjD0XaIRzUPVl4 gULm3YNBXBAJa9gAWd46c/M9YeDPbHwihnIb0yyZiAEZ7cE3dC8Jnbf9kykDU1ZHX7Yl MDYtYzX+borGL6X/0n1z66LJl+Wk8mLLkffM6FKKMOUEikNvw3EIhKpgkjpQFMl0rRZx c/t85V6oyo++eD2ajPCSu5g/5g3pBo1/QaUUfQcm2KLZyY6DmyMoQFV7PUOXUxjxgLhR IKL91mKVjU3pVrjNZTnvVLgpoDuN/b9kic/67wyAPjuCyeT9fxY9SZ8OErz9jsYSyfQ7 Sq2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=+0oIyuiL43c1vAuq2+oH/3oY5m+86YM1dQdDzSjxeuI=; b=h8T0r+2555fiD95d0bJHoMFQTvMSomPlEtl5osDKqT6GF00TfFxAG30iGcjChOZyo7 jhRapGYYINy0Ecqex4IHpE4P2shCZa/XKT+fDUvlHz3DNsvXDWdr1ZvCffSUVDQe5L7m 7hb9WO+nTfy+yyVfUWVfMGTgByiMfG+Llkf10ke/1arHGvO32FVtBClyheeKacQoTEAx KHZOZ7xnD3GtXDVMCU9HqaVKf0ZE3sksKyTWxL/cZqY8LFQw/a9SMR59UOOfrxJrnorf eInA8U8F7/edn0um09FzdljnhHc/HH15nSBwsxADDZhKIeodq7XZcHUFMYrmRbRaD8V8 1tKA== X-Gm-Message-State: AOAM533uIPQ1qaGICR8FCvo/2kWNnkfrxlMyZ8XMpa0p9Q5UQMmG2yO7 C88LUpA37F4Y8XsB7eBn4Dur2g== X-Received: by 2002:a17:906:b74c:: with SMTP id fx12mr46636268ejb.547.1600701358622; Mon, 21 Sep 2020 08:15:58 -0700 (PDT) Received: from tsr-lap-08.nix.tessares.net ([2a02:578:85b0:e00:6d5c:f5b2:93d8:8eef]) by smtp.gmail.com with ESMTPSA id y21sm9089603eju.46.2020.09.21.08.15.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 21 Sep 2020 08:15:58 -0700 (PDT) Subject: Re: [PATCH net-next v3] mptcp: Wake up MPTCP worker when DATA_FIN found on a TCP FIN packet To: "David S. Miller" , Jakub Kicinski Cc: Paolo Abeni , netdev@vger.kernel.org, mptcp@lists.01.org, linux-kernel@vger.kernel.org, Mat Martineau References: <20200921145759.1302197-1-matthieu.baerts@tessares.net> From: Matthieu Baerts Message-ID: Date: Mon, 21 Sep 2020 17:15:56 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.2.2 MIME-Version: 1.0 In-Reply-To: <20200921145759.1302197-1-matthieu.baerts@tessares.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi David, Jakub, On 21/09/2020 16:57, Matthieu Baerts wrote: > From: Mat Martineau > > When receiving a DATA_FIN MPTCP option on a TCP FIN packet, the DATA_FIN > information would be stored but the MPTCP worker did not get > scheduled. In turn, the MPTCP socket state would remain in > TCP_ESTABLISHED and no blocked operations would be awakened. > > TCP FIN packets are seen by the MPTCP socket when moving skbs out of the > subflow receive queues, so schedule the MPTCP worker when a skb with > DATA_FIN but no data payload is moved from a subflow queue. Other cases > (DATA_FIN on a bare TCP ACK or on a packet with data payload) are > already handled. > > Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/84 > Fixes: 43b54c6ee382 ("mptcp: Use full MPTCP-level disconnect state machine") A small mistake from my side, this patch is for -net and not net-next :/ Sorry, with these 3 patches with the same code, it really looks like we don't want to have this patch sent properly :) I can resend a v4 with the proper subject if you prefer. Cheers, Matt -- Tessares | Belgium | Hybrid Access Solutions www.tessares.net