lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZGcmv8LKS9ayAHRI@corigine.com>
Date: Fri, 19 May 2023 09:35:27 +0200
From: Simon Horman <simon.horman@...igine.com>
To: wei.fang@....com
Cc: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
	pabeni@...hat.com, Frank.Li@...escale.com, shenwei.wang@....com,
	xiaoning.wang@....com, netdev@...r.kernel.org, linux-imx@....com,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH V2 net-next] net: fec: remove useless fec_enet_reset_skb()

On Fri, May 19, 2023 at 10:01:13AM +0800, wei.fang@....com wrote:
> From: Wei Fang <wei.fang@....com>
> 
> This patch is a cleanup for fec driver. The fec_enet_reset_skb()
> is used to free skb buffers for tx queues and is only invoked in
> fec_restart(). However, fec_enet_bd_init() also resets skb buffers
> and is invoked in fec_restart() too. So fec_enet_reset_skb() is
> redundant and useless.
> 
> Signed-off-by: Wei Fang <wei.fang@....com>
> ---
> V2 change:
> According to Simon Horman's suggestion, it's just a cleanup and without
> user-visible problem, so change the target tree from net to net-next.

Thanks Wei Fang, looks good.

Reviewed-by: Simon Horman <simon.horman@...igine.com>


Powered by blists - more mailing lists