Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp4212559pxv; Tue, 27 Jul 2021 01:25:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzlBQ+s6lnNPD+2ZD5MGyh4vrfvKEvmKewB1rQDvWq1oZfPloNFRS06HoMa8n/HS+dtI78v X-Received: by 2002:a05:6e02:5cc:: with SMTP id l12mr16801052ils.60.1627374334885; Tue, 27 Jul 2021 01:25:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627374334; cv=none; d=google.com; s=arc-20160816; b=dKcfY3VSqK5pydzcPPVlYFnkwjlK/8dZmhfaSDwW4rgXvuDb2jJysYd8+mEBXjp+Po IhdG4hUyQmOvxoJwaqm1DJ8+6rcv2zLpJ7A5R9LA7zLZjMo5gcoet0gMNtsLVreEtOzv LZsbVJ4dA3D45Y2cCZDCari9JzaWllnc0E807nS+PGXgRP5yWHqNcyXAaV6D4HBIdBEZ OcXrWeDVKY4Ecu2fh1dpvhqUjJlsPhLXImocB8AFIo36krpJ08GqcWRnTmu9qGqMTD6x N3Fzn4J6c2CV9TVfB0Df1ZgD/j4HNDqK/QJqkYV6zYo5V4warE3HAGi8dUUTOdkyo5vh 3/ww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=RS8Vl267Fig8IFbs0VEV0NBdexigaAqD6oGynVjWh/g=; b=0OSh9ViwcyBiiSyCHHo5592HiWX7VTuTqwz1g9Jsu47oYwefqSqX3MyoI2bxd+yRqI 0/lijURO785ebkddYXcAnBHW3AvJJlWvPkKik3LeVkZQ5eta9naa0/XLVvt6KK88HWzP K20qtmy+qb4aWUNc7zg1mVzuDWqAYHva5YMD2SpXkY9yZSCUIFU97cJwwlPST2KPUm2l 9IuhaQtXzvV+Td1f3wURm5iUp1c0Zn2DG6NlVqiuMEyesOpwKdp3iqd+rurmwol11V63 ddgj5/AUTaAuU/BePoI4JBHZTWCldex0IRTdL8e3fxdLiaLWxcT89TkmpMjsnD86s3+6 SMvQ== ARC-Authentication-Results: i=1; mx.google.com; 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 t9si2571162jaj.20.2021.07.27.01.25.23; Tue, 27 Jul 2021 01:25:34 -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; 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 S235980AbhG0IXr (ORCPT + 99 others); Tue, 27 Jul 2021 04:23:47 -0400 Received: from jabberwock.ucw.cz ([46.255.230.98]:33638 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235920AbhG0IXm (ORCPT ); Tue, 27 Jul 2021 04:23:42 -0400 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id A83B21C0B76; Tue, 27 Jul 2021 10:22:39 +0200 (CEST) Date: Tue, 27 Jul 2021 10:22:38 +0200 From: Pavel Machek To: Greg Kroah-Hartman 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: <20210727082238.GA10177@amd> References: <20210726153839.371771838@linuxfoundation.org> <20210726153840.350300456@linuxfoundation.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AhhlLboLdkugWU4S" Content-Disposition: inline In-Reply-To: <20210726153840.350300456@linuxfoundation.org> User-Agent: Mutt/1.5.23 (2014-03-12) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --AhhlLboLdkugWU4S Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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_str= uct *napi, > case GRO_MERGED_FREE: > if (NAPI_GRO_CB(skb)->free =3D=3D NAPI_GRO_FREE_STOLEN_HEAD) > napi_skb_free_stolen_head(skb); > + else if (skb->fclone !=3D SKB_FCLONE_UNAVAILABLE) > + __kfree_skb(skb); > else > __kfree_skb(skb); > break; --=20 DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany --AhhlLboLdkugWU4S Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAmD/wk4ACgkQMOfwapXb+vKHeQCgn8SEVAaKKz+YvbuQGLKERu6V +4MAoKWPV/nsE2p1C0dHZ9MN8HFUhj8n =sUvV -----END PGP SIGNATURE----- --AhhlLboLdkugWU4S--