[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZA9XPysDlEV/KXu7@kroah.com>
Date: Mon, 13 Mar 2023 18:02:55 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Jorge Merlino <jorge.merlino@...onical.com>
Cc: "Rafael J. Wysocki" <rafael@...nel.org>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: [PATCH] Add symlink in /sys/class/net for interface altnames
On Mon, Mar 13, 2023 at 01:49:03PM -0300, Jorge Merlino wrote:
> Currently interface altnames behave almost the same as the interface
> principal name. One difference is that the not have a symlink in
> /sys/class/net as the principal has.
> This was mentioned as a TODO item in the original commit:
> https://lore.kernel.org/netdev/20190719110029.29466-1-jiri@resnulli.us
> This patch adds that symlink when an altname is created and removes it
> when the altname is deleted.
>
> Signed-off-by: Jorge Merlino <jorge.merlino@...onical.com>
> ---
> drivers/base/core.c | 22 ++++++++++++++++++++++
> include/linux/device.h | 3 +++
> net/core/dev.c | 11 +++++++++++
> 3 files changed, 36 insertions(+)
>
You also forgot the Documentation/ABI/ update for the new symlink :(
Powered by blists - more mailing lists