lkml.org 
[lkml]   [2023]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v2] bonding: use a read-write lock in bonding_show_bonds()
On Fri, Nov 17, 2023 at 2:15 PM Haifeng Xu <haifeng.xu@shopee.com> wrote:
>
>
> dev_change_name()is either used in dev_ifsioc(case: SIOCSIFNAME) or used in do_setlink(), so
> could these net devices which need to change name be related to bond? I am not quite sure.

You can change a netdev name with

ip link set dev OLDNAME name NEWNAME

This is generic.

\
 
 \ /
  Last update: 2023-11-20 14:02    [W:0.192 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site