[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240212175845.10f6680a@kernel.org>
Date: Mon, 12 Feb 2024 17:58:45 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Eric Dumazet <edumazet@...gle.com>
Cc: "David S . Miller" <davem@...emloft.net>, Paolo Abeni
<pabeni@...hat.com>, netdev@...r.kernel.org, eric.dumazet@...il.com
Subject: Re: [PATCH v3 net-next 06/13] net-sysfs: use dev_addr_sem to remove
races in address_show()
On Fri, 9 Feb 2024 20:34:21 +0000 Eric Dumazet wrote:
> diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
> index 24fd24b0f2341f662b28ade45ed12a5e6d02852a..28569f195a449700b6403006f70257b8194b516a 100644
> --- a/include/linux/netdevice.h
> +++ b/include/linux/netdevice.h
> @@ -4031,6 +4031,7 @@ int dev_set_mac_address(struct net_device *dev, struct sockaddr *sa,
> struct netlink_ext_ack *extack);
> int dev_set_mac_address_user(struct net_device *dev, struct sockaddr *sa,
> struct netlink_ext_ack *extack);
> +extern struct rw_semaphore dev_addr_sem;
nit: this could potentially live in the net/core/dev.h header?
I could not spot any real problems but the series seems to not apply
to net-next because of 4cd582ffa5a9a5d58e5bac9c5e55ca8eeabffddc
--
pw-bot: cr
Powered by blists - more mailing lists