[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANn89i+y1xzAH+m8W_nSyNXkTsJJOpf5NaF=_bEUA4YAAsTp0A@mail.gmail.com>
Date: Fri, 17 Nov 2023 14:40:15 +0100
From: Eric Dumazet <edumazet@...gle.com>
To: Haifeng Xu <haifeng.xu@...pee.com>
Cc: andy@...yhouse.net, davem@...emloft.net, j.vosburgh@...il.com,
kuba@...nel.org, pabeni@...hat.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [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@...pee.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.
Powered by blists - more mailing lists