[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2345b39d-366d-cd37-1026-2663679b4bed@intel.com>
Date: Tue, 9 May 2023 16:49:46 -0700
From: Jesse Brandeburg <jesse.brandeburg@...el.com>
To: Yunsheng Lin <linyunsheng@...wei.com>, <davem@...emloft.net>,
<kuba@...nel.org>, <pabeni@...hat.com>
CC: <netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
Simon Horman <simon.horman@...igine.com>
Subject: Re: [PATCH net-next v1 2/2] net: remove __skb_frag_set_page()
On 5/9/2023 4:46 AM, Yunsheng Lin wrote:
> The remaining users calling __skb_frag_set_page() with
> page being NULL seems to be doing defensive programming,
> as shinfo->nr_frags is already decremented, so remove
> them.
>
> Signed-off-by: Yunsheng Lin <linyunsheng@...wei.com>
> ---
> RFC: remove a local variable as pointed out by Simon.
Makes sense.
Reviewed-by: Jesse Brandeburg <jesse.brandeburg@...el.com>
CC: Simon
Powered by blists - more mailing lists