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: <20250922114120.bogu5vovrafeytow@skbuf>
Date: Mon, 22 Sep 2025 14:41:20 +0300
From: Vladimir Oltean <vladimir.oltean@....com>
To: Wei Fang <wei.fang@....com>
Cc: claudiu.manoil@....com, xiaoning.wang@....com, yangbo.lu@....com,
	richardcochran@...il.com, andrew+netdev@...n.ch,
	davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
	pabeni@...hat.com, Frank.Li@....com, imx@...ts.linux.dev,
	netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 net-next 0/2] net: enetc: improve the interface for
 obtaining phc_index

On Fri, Sep 19, 2025 at 04:45:07PM +0800, Wei Fang wrote:
> The first patch is to fix the issue that a sleeping function is called
> in the context of rcu_read_lock(). The second patch is to use the generic
> API instead of the custom API to get phc_index. In addition, the second
> patch depends on the first patch to work.
> 
> Note, the first patch is a fix, but the issue does not exist in the net
> tree, so the target tree is net-next.
> 
> ---
> v2 changes:
> 1. Add patch 1 to fix the issue that sleeping function called from
>    invalid context
> 2. Fix the build warning of patch 2.
> v1 link: https://lore.kernel.org/netdev/20250918074454.1742328-1-wei.fang@nxp.com/
> ---
> 
> Wei Fang (2):
>   net: enetc: fix sleeping function called from rcu_read_lock() context
>   net: enetc: use generic interfaces to get phc_index for ENETC v1
> 
>  drivers/net/ethernet/freescale/enetc/enetc.h  |  3 --
>  .../ethernet/freescale/enetc/enetc_ethtool.c  | 29 ++++++++-----------
>  .../net/ethernet/freescale/enetc/enetc_ptp.c  |  5 ----
>  3 files changed, 12 insertions(+), 25 deletions(-)
> 
> -- 
> 2.34.1
>

For the set:

Reviewed-by: Vladimir Oltean <vladimir.oltean@....com>
Tested-by: Vladimir Oltean <vladimir.oltean@....com>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ