[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240604141133.GQ491852@kernel.org>
Date: Tue, 4 Jun 2024 15:11:33 +0100
From: Simon Horman <horms@...nel.org>
To: Jason Xing <kerneljasonxing@...il.com>
Cc: edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
davem@...emloft.net, dsahern@...nel.org, netdev@...r.kernel.org,
Jason Xing <kernelxing@...cent.com>
Subject: Re: [PATCH net-next] net: remove NULL-pointer net parameter in
ip_metrics_convert
On Fri, May 31, 2024 at 11:46:34PM +0800, Jason Xing wrote:
> From: Jason Xing <kernelxing@...cent.com>
>
> When I was doing some experiments, I found that when using the first
> parameter, namely, struct net, in ip_metrics_convert() always triggers NULL
> pointer crash. Then I digged into this part, realizing that we can remove
> this one due to its uselessness.
>
> Signed-off-by: Jason Xing <kernelxing@...cent.com>
Reviewed-by: Simon Horman <horms@...nel.org>
Powered by blists - more mailing lists