[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHNKnsQTqy5qUcjxfC6jKMjduX9AfYq75Ni=8jtNmNvvPob7qQ@mail.gmail.com>
Date: Thu, 22 Jul 2021 21:35:19 +0300
From: Sergey Ryazanov <ryazanov.s.a@...il.com>
To: Loic Poulain <loic.poulain@...aro.org>
Cc: David Miller <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Johannes Berg <johannes@...solutions.net>,
netdev@...r.kernel.org, stable@...r.kernel.org
Subject: Re: [PATCH] wwan: core: Fix missing RTM_NEWLINK event for default link
On Thu, Jul 22, 2021 at 9:10 PM Loic Poulain <loic.poulain@...aro.org> wrote:
> A wwan link created via the wwan_create_default_link procedure is
> never notified to the user (RTM_NEWLINK), causing issues with user
> tools relying on such event to track network links (NetworkManager).
>
> This is because the procedure misses a call to rtnl_configure_link(),
> which sets the link as initialized and notifies the new link (cf
> proper usage in __rtnl_newlink()).
>
> Cc: stable@...r.kernel.org
> Fixes: ca374290aaad ("wwan: core: support default netdev creation")
> Suggested-by: Sergey Ryazanov <ryazanov.s.a@...il.com>
> Signed-off-by: Loic Poulain <loic.poulain@...aro.org>
Acked-by: Sergey Ryazanov <ryazanov.s.a@...il.com>
Powered by blists - more mailing lists