Skip to content

net: devlink: move netdev notifier block to dest namespace during reload

Jiri Pirko netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 9 repliesIn review 2 of 3 applied
  2. v12 patches 7 repliesSuperseded

Patches in v2 2 of 3 applied

#Subject and filesSizeRepliesApplied
1/3net: introduce a helper to move notifier block to different namespaceinclude/linux/netdevice.h net/core/dev.c+20 -41 replyApplied
2/3net: devlink: move netdev notifier block to dest namespace during reloadnet/core/devlink.c+4 -10 repliesApplied
3/3net: devlink: add WARN_ON to check return value of unregister_netdevice_notifier_net() callnet/core/devlink.c+2 -28 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchIdo Schimmel
1/3R-b
2/3R-b T-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [patch net-next v2 0/3] net: devlink: move netdev notifier block to dest namespace during reload

From: Jiri Pirko <[email protected]>

Patch #1 is just a dependency of patch #2, which is the actual fix. Patch #3 adds a small check that would uncover the original bug instantly.

Jiri Pirko (3):
net: introduce a helper to move notifier block to different namespace
net: devlink: move netdev notifier block to dest namespace during
reload
net: devlink: add WARN_ON to check return value of
unregister_netdevice_notifier_net() call

 include/linux/netdevice.h |  2 ++
 net/core/dev.c            | 22 ++++++++++++++++++----
 net/core/devlink.c        |  9 ++++++---
 3 files changed, 26 insertions(+), 7 deletions(-)
Signature · 1 line
2.37.3