lkml.org 
[lkml]   [2023]   [Aug]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] net: export dev_change_name function
From


On 8/1/2023 6:01 PM, Andrew Lunn wrote:
> 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@quicinc.com>
>> Signed-off-by: Anvesh Jain P <quic_ajainp@quicinc.com>
>
> 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
CONFIG_RENAME_DEVICES is the module which needs "dev_change_name" API.
Our requirement is to change the network device name from kernel space.

\
 
 \ /
  Last update: 2023-08-01 15:09    [W:0.308 / U:0.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site