: Make "prot inuse" counters work per-net.
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | : Add net parameter to sock_prot_inuse_(add|get).include/ include/ net/ +7 more | +31 | 0 replies | |
| 2/6 | : Introduce per-net inuse counters.include/ include/ net/ | +90 | 4 replies | |
| 3/6 | : Swap unhash and net change for icmp and tcp service sockets.net/ net/ net/ +1 more | +4 | 0 replies | |
| 4/6 | : Create sockstat and sockstat6 files in net.net/ net/ | +45 | 0 replies | |
| 5/6 | : Use proper net in sockstat file.net/ | +34 | 0 replies | |
| 6/6 | : Use proper net in sockstat6 file.net/ | +34 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH net-2.6.26 0/6][NETNS][SOCK]: Make "prot inuse" counters work per-net.
These counters show the number of sockets used for each protocol, but currently they gather global statistics. This is useful to have them work per-net.
This set adds this possibility, but hides it under CONFIG_NET_NS option, so that not-virtualized kernel keeps using the optimized version by Eric (and he's in Cc for that reason).
Signed-off-by Pavel Emelyanov <[email protected]>