Public bug reported:

* Explain the bug(s)
There is possible deadlock during reload mlxsw into initial netns made possible 
by commit:
328fbe747ad4 ("net: Close race between {un, }register_netdevice_notifier() and 
setup_net()/cleanup_net()").

* Brief explanation of fixes
Introduce dev_net variant that is basically per-net notifier with an
extension that re-registers the per-net notifier upon netdev namespace
change. Basically the per-net notifier follows the netdev into
namespace.


* How to test 
# chroot /host nsenter -t 1 -n devlink dev reload ${port} netns ${NS}
 
* What it could break
none

** Affects: linux-bluefield (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-bluefield in Ubuntu.
https://bugs.launchpad.net/bugs/2002361

Title:
  allow per-net notifier to follow netdev into namespace

Status in linux-bluefield package in Ubuntu:
  New

Bug description:
  
  * Explain the bug(s)
  There is possible deadlock during reload mlxsw into initial netns made 
possible by commit:
  328fbe747ad4 ("net: Close race between {un, }register_netdevice_notifier() 
and setup_net()/cleanup_net()").

  * Brief explanation of fixes
  Introduce dev_net variant that is basically per-net notifier with an
  extension that re-registers the per-net notifier upon netdev namespace
  change. Basically the per-net notifier follows the netdev into
  namespace.

  
  * How to test 
  # chroot /host nsenter -t 1 -n devlink dev reload ${port} netns ${NS}
   
  * What it could break
  none

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-bluefield/+bug/2002361/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to