linux-stable/drivers/net/wwan
Loic Poulain 8cc236db1a wwan: core: Fix missing RTM_NEWLINK event for default link
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@vger.kernel.org
Fixes: ca374290aa ("wwan: core: support default netdev creation")
Suggested-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
Acked-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-07-23 17:16:19 +01:00
..
iosm net: wwan: iosm: Switch to use module_pci_driver() macro 2021-07-21 09:01:05 -07:00
Kconfig net: wwan: Add RPMSG WWAN CTRL driver 2021-06-18 13:13:40 -07:00
Makefile net: wwan: Add RPMSG WWAN CTRL driver 2021-06-18 13:13:40 -07:00
mhi_wwan_ctrl.c net: wwan: mhi_wwan_ctrl: Fix RX buffer starvation 2021-04-20 17:13:43 -07:00
rpmsg_wwan_ctrl.c net: wwan: Allow WWAN drivers to provide blocking tx and poll function 2021-06-18 13:13:40 -07:00
wwan_core.c wwan: core: Fix missing RTM_NEWLINK event for default link 2021-07-23 17:16:19 +01:00
wwan_hwsim.c wwan: core: support default netdev creation 2021-06-22 10:01:16 -07:00