From mboxrd@z Thu Jan 1 00:00:00 1970 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=-6.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no 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 9B4CDC4363A for ; Tue, 27 Oct 2020 22:46:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 556BA2070E for ; Tue, 27 Oct 2020 22:46:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756996AbgJ0WqT (ORCPT ); Tue, 27 Oct 2020 18:46:19 -0400 Received: from mga02.intel.com ([134.134.136.20]:62507 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756904AbgJ0WqO (ORCPT ); Tue, 27 Oct 2020 18:46:14 -0400 IronPort-SDR: 7euyhD/arm/T2KhhQbPUlUBa1KmBjIXbxDZwUZWN8OmZnEbjWdk5kLWHcgnlTHe1FTj/N/64cF 8R8JflMBCuQg== X-IronPort-AV: E=McAfee;i="6000,8403,9787"; a="155142600" X-IronPort-AV: E=Sophos;i="5.77,424,1596524400"; d="scan'208";a="155142600" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Oct 2020 15:46:12 -0700 IronPort-SDR: j/qmJLxb8zUUvjIN60g8L5rrWWO9s1WLAeGb5NQZuPf1W4TzFn7lLsTObO3m0Jr4KA5fZfxS1o hcFGpW0Cbbuw== X-IronPort-AV: E=Sophos;i="5.77,424,1596524400"; d="scan'208";a="304047436" Received: from kcalvi-mobl2.amr.corp.intel.com ([10.252.138.241]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Oct 2020 15:46:12 -0700 Date: Tue, 27 Oct 2020 15:46:11 -0700 (PDT) From: Mat Martineau To: Paolo Abeni cc: netdev@vger.kernel.org, Jakub Kicinski , mptcp@lists.01.org Subject: Re: [PATCH net] mptcp: add missing memory scheduling in the rx path In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Tue, 27 Oct 2020, Paolo Abeni wrote: > When moving the skbs from the subflow into the msk receive > queue, we must schedule there the required amount of memory. > > Try to borrow the required memory from the subflow, if needed, > so that we leverage the existing TCP heuristic. > > Fixes: 6771bfd9ee24 ("mptcp: update mptcp ack sequence from work queue") > Signed-off-by: Paolo Abeni > --- > net/mptcp/protocol.c | 10 ++++++++++ > 1 file changed, 10 insertions(+) > Reviewed-by: Mat Martineau -- Mat Martineau Intel