Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp4258982pxv; Tue, 27 Jul 2021 02:54:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy3dppVypuFnRBo7Hby09Lj1tA5C/YjNBOx2lBKk3PK6Sh6ZVkXl+6ueqindt2fWJImd6rR X-Received: by 2002:a17:906:7012:: with SMTP id n18mr21068377ejj.236.1627379682344; Tue, 27 Jul 2021 02:54:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627379682; cv=none; d=google.com; s=arc-20160816; b=ErifrKev7G2MgLh3T4mz79/VVeNeR9yvYnz9Ztxju0MsBCQ/UhdnG2TPBvW4cOrWI5 3Zdud8Cl6ZYNDNY3cwBPwBxyfQQY9E9ClFy4yWtez1d6PZJx0uYbCkNwObSdaN6cnlP7 ga+1SS5ctwkLS223p/SUnKdOjbU4AWrcrFP8wlGpboZ7ZGL3gabsgkCjrWqeMsdvWpsy BPY31NxGLd99ToLFTFxDSt7qqqFPnMEOXbE2j58Anyl7/HNTrsPQ1zUJq230l7WlKN1L /4oay8FO+ikWiF6xgMSwDq0FScCkvKSAT8ixhZ9xFSGu/AcB4s6zwYrIbwKS1BaiKbUn JfMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=qAMbgH7LYIeOhV2k/38tLQsOTp5ovCTzz2Uca4IqrJk=; b=b0N2elCyFkZZoE0Z+cm/pCC0wwzlOvU7XSGrq4bmOwBe5maxqRVe+D5r2oJCNfE8RI wwIvC3FYbJzovN6d83NfPzdouB+s1RqbGvBW7svpwPHFAxR63JBOIVVJArUC2arDa7aS XbOhJDMXbyaGIK3HASSFhkV4z82JHcyHE+0CEIZ/Lf8Fk8AGbRC6CUHDB2gR5A4BXX8W JLsE/5czNB22eI6dmRzO92cUDLH/H9kPYygCCegp2ZLMc1pB8g2qRwH6XuGcP4IP8WED i0KxdOcD4V8i29t61NDdRRVy0aN7SordccZYOyWMZuYekNOBSZ2EAkzvBfrohttdOflE S48Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=IeeD9YZM; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i2si2590939ejp.581.2021.07.27.02.54.18; Tue, 27 Jul 2021 02:54:42 -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=@linuxfoundation.org header.s=korg header.b=IeeD9YZM; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236105AbhG0Juo (ORCPT + 99 others); Tue, 27 Jul 2021 05:50:44 -0400 Received: from mail.kernel.org ([198.145.29.99]:38136 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235950AbhG0Jum (ORCPT ); Tue, 27 Jul 2021 05:50:42 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id C779C613A1; Tue, 27 Jul 2021 09:50:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1627379442; bh=v5/2yWp+5jt6Xy8JjqpzlOuAA6t3QI1oC1F5fwO35gU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=IeeD9YZMBTMTi2s2SOaYZBiW/e3CvDlZYRy84JUCBAZMceIZppjsZGfo+HFUKJNyc ZLDHm2vd6fO3/nJVb899lrk157oMD8c8nYYzSZ1xUH5qiiKQqqhvQtpoWEGS2Ivpdl ZEBA7VUjajM0Q2/TuW8KHtBKpoVHZvv+2RkdWw4Q= Date: Tue, 27 Jul 2021 11:50:40 +0200 From: Greg Kroah-Hartman To: Pavel Machek Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Alexander Lobakin , Antoine Tenart , "David S. Miller" , Sasha Levin Subject: Re: [PATCH 5.10 029/167] net: do not reuse skbuff allocated from skbuff_fclone_cache in the skb cache Message-ID: References: <20210726153839.371771838@linuxfoundation.org> <20210726153840.350300456@linuxfoundation.org> <20210727082238.GA10177@amd> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210727082238.GA10177@amd> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 27, 2021 at 10:22:38AM +0200, Pavel Machek wrote: > Hi! > > > [ Upstream commit 28b34f01a73435a754956ebae826e728c03ffa38 ] > > Mainline is significantly different here. Patch makes no sense in > 5.10, as both branches of if are same. > > Best regards, > Pavel > > > --- a/net/core/dev.c > > +++ b/net/core/dev.c > > @@ -6100,6 +6100,8 @@ static gro_result_t napi_skb_finish(struct napi_struct *napi, > > case GRO_MERGED_FREE: > > if (NAPI_GRO_CB(skb)->free == NAPI_GRO_FREE_STOLEN_HEAD) > > napi_skb_free_stolen_head(skb); > > + else if (skb->fclone != SKB_FCLONE_UNAVAILABLE) > > + __kfree_skb(skb); > > else > > __kfree_skb(skb); > > break; > You are right, I'll go drop this patch from the queue now, thanks. greg k-h