Re: [PATCH] net: export dev_change_name function

From: Andrew Lunn
Date: Tue Aug 01 2023 - 08:32:17 EST


On Tue, Aug 01, 2023 at 04:51:01PM +0530, Anvesh Jain P wrote:
> export dev_change_name function to be used by other modules.
>
> Signed-off-by: Vagdhan Kumar <quic_vagdhank@xxxxxxxxxxx>
> Signed-off-by: Anvesh Jain P <quic_ajainp@xxxxxxxxxxx>

It would be normal to include a user of the API when exposing an API.

What module needs to change the name of a device? At the moment, only
user space can do this via netlink or an IOCTL.

Andrew