Thread (5 messages) flat view 5 messages, 2 authors, 2021-07-22

Re: [PATCH] wwan: core: Fix missing RTM_NEWLINK event

From: Sergey Ryazanov <ryazanov.s.a@gmail.com>
Date: 2021-07-22 16:14:36
Also in: stable

Hello Loic,

On Thu, Jul 22, 2021 at 6:39 PM Loic Poulain [off-list ref] wrote:
By default there is no rtnetlink event generated when registering a
netdev with rtnl_link_ops until its rtnl_link_state is switched to
initialized (RTNL_LINK_INITIALIZED). This causes issues with user
tools like NetworkManager which relies on such event to manage links.

Fix that by setting link to initialized (via rtnl_configure_link).
Shouldn't the __rtnl_newlink() function call rtnl_configure_link()
just after the newlink() callback invocation? Or I missed something?

-- 
Sergey
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help