net: fix bugs in device netns-move and rename
Status from this message: This series was applied to netdev/net.git (main)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest5 patches 4 repliesApplied 5/5
- v15 patches 10 repliesSuperseded
Changes in v2 from the cover letter
- fix the bug in patch 1
- improvements in patch 5
v1: https://lore.kernel.org/all/[email protected]/
Patches in v2 All 5 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | net: fix ifname in netlink ntf during netns movenet/ | +31 | 3 replies | Applied |
| 2/5 | net: check for altname conflicts when changing netdev's netnsnet/ net/ | +11 | 0 replies | Applied |
| 3/5 | net: avoid UAF on deleted altnamenet/ | +6 | 0 replies | Applied |
| 4/5 | net: move altnames together with the netdevicenet/ | +9 | 0 replies | Applied |
| 5/5 | selftests: net: add very basic test for netdev names and namespacestools/ tools/ | +88 | 1 reply | Applied |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Jiri Pirko | Przemek Kitszel |
|---|---|---|
| 1/5 | R-b | |
| 2/5 | R-b | |
| 3/5 | R-b | |
| 4/5 | R-b | |
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net v2 0/5] net: fix bugs in device netns-move and rename
Daniel reported issues with the uevents generated during netdev namespace move, if the netdev is getting renamed at the same time.
While the issue that he actually cares about is not fixed here, there is a bunch of seemingly obvious other bugs in this code. Fix the purely networking bugs while the discussion around the uevent fix is still ongoing.
v2:
- fix the bug in patch 1
- improvements in patch 5
v1: https://lore.kernel.org/all/[email protected]/
Jakub Kicinski (5):
net: fix ifname in netlink ntf during netns move
net: check for altname conflicts when changing netdev's netns
net: avoid UAF on deleted altname
net: move altnames together with the netdevice
selftests: net: add very basic test for netdev names and namespaces
net/core/dev.c | 65 +++++++++++++---- net/core/dev.h | 3 + tools/testing/selftests/net/Makefile | 1 + tools/testing/selftests/net/netns-name.sh | 87 +++++++++++++++++++++++ 4 files changed, 141 insertions(+), 15 deletions(-) create mode 100755 tools/testing/selftests/net/netns-name.sh
Signature · 1 line
2.41.0