fib: rules: Convert RTM_NEWRULE and RTM_DELRULE to per-netns RTNL.
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 Latest8 patches 10 repliesApplied 8/8
- v16 patches 4 repliesSuperseded
Changes in v2 from the cover letter
* Add patch 4 & 5
* Don't use !!extack to check if RTNL is held
Patches in v2 All 8 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | net: fib_rules: Don't check net in rule_exists() and rule_find().net/ | +0 | 1 reply | Applied |
| 2/8 | net: fib_rules: Pass net to fib_nl2rule() instead of skb.net/ | +3 | 1 reply | Applied |
| 3/8 | net: fib_rules: Split fib_nl2rule().net/ | +41 | 1 reply | Applied |
| 4/8 | ip: fib_rules: Fetch net from fib_rule in fib[46]_rule_configure().net/ net/ | +4 | 1 reply | Applied |
| 5/8 | net: fib_rules: Factorise fib_newrule() and fib_delrule().drivers/ include/ net/ | +29 | 1 reply | Applied |
| 6/8 | net: fib_rules: Convert RTM_NEWRULE to per-netns RTNL.net/ | +14 | 1 reply | Applied |
| 7/8 | net: fib_rules: Add error_free label in fib_delrule().net/ | +6 | 1 reply | Applied |
| 8/8 | net: fib_rules: Convert RTM_DELRULE to per-netns RTNL.net/ | +16 | 1 reply | Applied |
Reviews trailers per patch
All 8 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Eric Dumazet | Ido Schimmel |
|---|---|---|
| Series | R-b | R-b T-b |
| 1/8 | R-b | |
| 2/8 | R-b | |
| 3/8 | R-b | |
| 4/8 | R-b | |
| 5/8 | R-b | |
| 6/8 | R-b | |
| 7/8 | R-b | |
| 8/8 | R-b |
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/8] fib: rules: Convert RTM_NEWRULE and RTM_DELRULE to per-netns RTNL.
Patch 1 ~ 2 are small cleanup, and patch 3 ~ 8 make fib_nl_newrule() and fib_nl_delrule() hold per-netns RTNL.
Changes:
v2:
* Add patch 4 & 5
* Don't use !!extack to check if RTNL is held
v1: https://lore.kernel.org/netdev/[email protected]/
Kuniyuki Iwashima (8):
net: fib_rules: Don't check net in rule_exists() and rule_find().
net: fib_rules: Pass net to fib_nl2rule() instead of skb.
net: fib_rules: Split fib_nl2rule().
ip: fib_rules: Fetch net from fib_rule in fib[46]_rule_configure().
net: fib_rules: Factorise fib_newrule() and fib_delrule().
net: fib_rules: Convert RTM_NEWRULE to per-netns RTNL.
net: fib_rules: Add error_free label in fib_delrule().
net: fib_rules: Convert RTM_DELRULE to per-netns RTNL.
drivers/net/vrf.c | 6 +- include/net/fib_rules.h | 8 +-- net/core/fib_rules.c | 151 ++++++++++++++++++++++++++-------------- net/ipv4/fib_rules.c | 4 +- net/ipv6/fib6_rules.c | 4 +- 5 files changed, 110 insertions(+), 63 deletions(-)
Signature · 1 line
2.39.5 (Apple Git-154)