routing virtualization v2
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest19 patches 1 replyIn review
Changes from v1 from the cover letter
- fixed spacing in the fib_rules.h
- improved patch description by the suggestion of Daniel Lezcano
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/19 | Add netns parameter to fib_rules_(un)register.include/ net/ net/ +2 more | +9 | 0 replies | |
| 2/19 | Pass fib_rules_ops into default_pref method.include/ net/ net/ +2 more | +5 | 0 replies | |
| 3/19 | Namespacing in the generic fib rules code.include/ net/ | +58 | 0 replies | |
| 4/19 | Add namespace to API for routing /proc entries creation.include/ net/ net/ +1 more | +19 | 0 replies | |
| 5/19 | Check fib4_rules_init failure.include/ net/ net/ | +28 | 0 replies | |
| 6/19 | Refactor fib initialization so it can handle multiple namespaces.include/ net/ net/ +3 more | +92 | 0 replies | |
| 7/19 | Unify access to the routing tables.include/ net/ | +40 | 0 replies | |
| 8/19 | Add netns parameter to fib_get_table/fib_new_table.include/ net/ net/ +2 more | +32 | 0 replies | |
| 9/19 | Add netns parameter to inet_(dev_)add_type.drivers/ include/ net/ +14 more | +36 | 0 replies | |
| 10/19 | Add netns to nl_info structure.include/ net/ net/ +2 more | +25 | 0 replies | |
| 11/19 | Show routing information from correct namespace (fib_hash.c)net/ | +11 | 0 replies | |
| 12/19 | Show routing information from correct namespace (fib_trie.c)net/ | +32 | 0 replies | |
| 13/19 | Namespacing IPv4 fib rules.include/ net/ | +29 | 0 replies | |
| 14/19 | Place fib tables into netns.include/ include/ net/ | +29 | 0 replies | |
| 15/19 | Provide correct namespace for fibnl netlink socket.include/ net/ | +18 | 0 replies | |
| 16/19 | Correctly fill fib_config data.net/ | +14 | 0 replies | |
| 17/19 | Pass namespace through ip_rt_ioctl.include/ net/ net/ +1 more | +7 | 0 replies | |
| 18/19 | Replace init_net with the correct context in fib_frontend.cnet/ | +4 | 0 replies | |
| 19/19 | Enable routing configuration in non-initial namespace.net/ | +0 | 0 replies |
Reviews trailers per patch
All 19 patches have a Reviewed-by or Acked-by.
| Patch | Benjamin Thery | Daniel Lezcano |
|---|---|---|
| 1/19 | A-b | A-b |
| 2/19 | A-b | A-b |
| 3/19 | A-b | A-b |
| 4/19 | A-b | A-b |
| 5/19 | A-b | A-b |
| 6/19 | A-b | A-b |
| 7/19 | A-b | A-b |
| 8/19 | A-b | A-b |
| 9/19 | A-b | A-b |
| 10/19 | A-b | A-b |
| 11/19 | A-b | A-b |
| 12/19 | A-b | A-b |
| 13/19 | A-b | A-b |
| 14/19 | A-b | A-b |
| 15/19 | A-b | A-b |
| 16/19 | A-b | A-b |
| 17/19 | A-b | A-b |
| 18/19 | A-b | A-b |
| 19/19 | A-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH netns-2.6.25 0/19] routing virtualization v2
Hi, Dave!
This set adds namespace support for routing tables & rules manipulation in the different namespaces. So, one could create a namespace and setup IPv4 routing there how he wants.
After this patch user will have the ability to configure and observe its own isolated set of routing rules/tables, but they all will be unused. I.e. routing decisions inside the network stack are still made based on the init_net's rules. The reason for doing so is to have something self-consistent and not too huge :)
The sequence is the following:
- viritualize generic FIB rules operations
- change IPv4 FIB initialization sequence
- virtualize FIB tables access
After this, the 'ip' utility and the /proc interface will start working correctly inside a namespace, while the 'route' utility will not, because IP sockets currently cannot be created in non-init namespace.
Changes from v1:
- fixed spacing in the fib_rules.h
- improved patch description by the suggestion of Daniel Lezcano