[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230410172626.443a00ca@kernel.org>
Date: Mon, 10 Apr 2023 17:26:26 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Liang Chen <liangchen.linux@...il.com>
Cc: ilias.apalodimas@...aro.org, hawk@...nel.org, davem@...emloft.net,
edumazet@...gle.com, pabeni@...hat.com, netdev@...r.kernel.org
Subject: Re: [PATCH] skbuff: Fix a race between coalescing and releasing
SKBs
On Tue, 4 Apr 2023 15:47:33 +0800 Liang Chen wrote:
> - if (to->pp_recycle != (from->pp_recycle && !skb_cloned(from)))
> + if ((to->pp_recycle != from->pp_recycle)
> + || (from->pp_recycle && skb_cloned(from)))
> return false;
It should be formatted like this:
if (to->pp_recycle != from->pp_recycle ||
(from->pp_recycle && skb_cloned(from)))
Powered by blists - more mailing lists