net: Random cleanup for netns initialisation.
Status from this message: This series was applied to netdev/net-next.git (main)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest6 patches 1 replyApplied 6/6
- v16 patches 6 repliesSuperseded
Changes in v2 from the cover letter
patch 1 : Removed Fixes: tag
patch 2 : Use XOR for WARN_ON()
Patches in v2 All 6 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | l2tp: Don't assign net->gen->ptr[] for pppol2tp_net_ops.net/ | +0 | 1 reply | Applied |
| 2/6 | net: Don't register pernet_operations if only one of id or size is specified.include/ net/ | +10 | 0 replies | Applied |
| 3/6 | net: Initialise net->passive once in preinit_net().net/ | +1 | 0 replies | Applied |
| 4/6 | net: Call preinit_net() without pernet_ops_rwsem.net/ | +2 | 0 replies | Applied |
| 5/6 | net: Slim down setup_net().net/ | +16 | 0 replies | Applied |
| 6/6 | net: Initialise net.core sysctl defaults in preinit_net().net/ | +11 | 0 replies | Applied |
Reviews trailers per patch
1 of 6 patches has a Reviewed-by or Acked-by.
| Patch | Simon Horman | James Chapman |
|---|---|---|
| 1/6 | R-b | R-b |
| 2/6 | ||
| 3/6 | ||
| 4/6 | ||
| 5/6 | ||
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 net-next 0/6] net: Random cleanup for netns initialisation.
patch 1 & 2 suppress unwanted memory allocation for net->gen->ptr[].
patch 3 ~ 6 move part of netns initialisation to prenet_init() that do not require pernet_ops_rwsem.
v2:
patch 1 : Removed Fixes: tag
patch 2 : Use XOR for WARN_ON()
v1: https://lore.kernel.org/netdev/[email protected]/
Kuniyuki Iwashima (6):
l2tp: Don't assign net->gen->ptr[] for pppol2tp_net_ops.
net: Don't register pernet_operations if only one of id or size is
specified.
net: Initialise net->passive once in preinit_net().
net: Call preinit_net() without pernet_ops_rwsem.
net: Slim down setup_net().
net: Initialise net.core sysctl defaults in preinit_net().
include/net/net_namespace.h | 4 +- net/core/net_namespace.c | 84 ++++++++++++++++--------------------- net/l2tp/l2tp_ppp.c | 3 -- 3 files changed, 39 insertions(+), 52 deletions(-)
Signature · 1 line
2.30.2