Combined set of sysctl reworks, cleanups and fixes
Status from this message: Applied.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | Remove unneeded ifdefs from sysctl_net_core.cnet/ | +0 | 1 reply | |
| 1/11 | Remove unneeded ifdefs from sysctl_net_core.cnet/ | +0 | 0 replies | |
| 2/11 | Isolate the net/core/ sysctl tableinclude/ net/ net/ | +18 | 1 reply | |
| 3/11 | Cleanup the sysctl_net_ipv4.c filenet/ net/ net/ | +6 | 1 reply | |
| 4/11 | Use ctl paths to register net/ipv4/ tableinclude/ net/ net/ | +18 | 1 reply | |
| 5/11 | Use ctl paths to register net/token-ring/ tableinclude/ net/ net/ +2 more | +25 | 1 reply | |
| 6/11 | Remove the empty net_tableinclude/ kernel/ net/ | +0 | 1 reply | |
| 7/11 | Make the ipv6/sysctl_net_ipv6.c compilation cleanernet/ net/ | +2 | 1 reply | |
| 8/11 | Use sysctl paths to register ipv6 sysctl tablesnet/ | +6 | 1 reply | |
| 9/11 | Merge sys.net.ipv4.ip_forward and sys.net.ipv4.conf.all.forwardinginclude/ net/ net/ | +44 | 1 reply | |
| 10/11 | Eliminate difference in actions of sysctl and proc handler for conf.all.forwardingnet/ | +47 | 9 replies | |
| 11/11 | Eliminate difference in actions of sysctl and proc handler for conf.all.forwardingnet/ | +20 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH net-2.6.25 0/11] Combined set of sysctl reworks, cleanups and fixes
Hi, David.
Herbert has accepted a set of patches with sysctl paths from Eric. The idea of the path is to eliminate the ctl_table-s that are used merely to denote the path to those tables, that really contain pointer on variables and proc handlers to change them. Thus, we can significantly reduce the vmlinux size and make the code much cleaner.
Another good point of "paths" is that they help to create per-netns sysctls. I have posted some patches, cleaning devinet and addrconf sysctls and they were accepted - this is the next step.
These patches depend on each other, but do some different things:
First 6 patches isolate net/core/, net/ipv4/ and net/token-ring tables in their own .c files thus removing a some tables from the global scope. Next two patches make the similar thing for the ipv6 sysctls.
9th patch merges handlers for two entries - sys.net.ipv4.ip_forward and sys.net.conf.all.forwarding as they really do the same thing.
The last two patches fix discrepancy, that I found in how proc handler and sysctl handler work for net.<proto>.conf.<any>.forwarding entry for both ipv4 and ipv6.