Skip to content

mib: add struct net to IP, TCP and NET macros

Pavel Emelyanov netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest20 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/20ipv4: prepare net initialization for IP accountingnet/ipv4/inet_connection_sock.c net/ipv4/ip_fragment.c net/ipv4/udp.c+8 -50 replies
2/20mib: drop unused IP_INC_STATS_USERinclude/net/ip.h+0 -10 replies
3/20mib: add net to IP_INC_STATSinclude/net/ip.h net/ipv4/ip_forward.c net/ipv4/ip_output.c +1 more+18 -180 replies
4/20mib: add net to IP_INC_STATS_BHinclude/net/ip.h net/dccp/ipv4.c net/ipv4/datagram.c +9 more+41 -340 replies
5/20mib: add net to IP_ADD_STATS_BHinclude/net/ip.h net/ipv4/ip_fragment.c+2 -20 replies
6/20inet: prepare struct net for TCP MIB accountingnet/ipv4/tcp_ipv4.c net/ipv6/tcp_ipv6.c+9 -40 replies
7/20mib: drop unused TCP MIB accounting macrosinclude/net/tcp.h+0 -20 replies
8/20tcp: add net to tcp_mib_initinclude/net/tcp.h net/ipv4/af_inet.c+2 -20 replies
9/20mib: add net to TCP_INC_STATSinclude/net/tcp.h net/ipv4/tcp.c net/ipv4/tcp_output.c+8 -80 replies
10/20mib: add net to TCP_INC_STATS_BHinclude/net/tcp.h net/ipv4/tcp.c net/ipv4/tcp_input.c +3 more+21 -210 replies
11/20mib: add net to TCP_DEC_STATSinclude/net/tcp.h net/ipv4/tcp.c+2 -20 replies
12/20mib: add net to TCP_ADD_STATS_USERinclude/net/tcp.h+5 -50 replies
13/20sock: add net to prot->enter_memory_pressure callbackinclude/net/sock.h include/net/tcp.h net/core/sock.c +3 more+8 -80 replies
14/20inet: prepare net on the stack for NET accounting macrosnet/dccp/ipv6.c net/ipv4/arp.c net/ipv6/tcp_ipv6.c+6 -30 replies
15/20tcp: replace tcp_sock argument with sock in some placesnet/ipv4/tcp_input.c+18 -130 replies
16/20mib: add net to NET_INC_STATSinclude/net/ip.h net/ipv4/tcp.c net/ipv4/tcp_output.c+4 -40 replies
17/20mib: add net to NET_INC_STATS_BHinclude/net/ip.h include/net/tcp.h net/dccp/ipv4.c +15 more+84 -810 replies
18/20mib: add net to NET_INC_STATS_USERinclude/net/ip.h net/ipv4/tcp.c+4 -40 replies
19/20mib: add net to NET_ADD_STATS_BHinclude/net/ip.h net/ipv4/inet_timewait_sock.c+13 -40 replies
20/20mib: add net to NET_ADD_STATS_USERinclude/net/ip.h net/ipv4/tcp.c+4 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/20] mib: add struct net to IP, TCP and NET macros

This is actually the last very scattered set, that changes many calls to MIB accounting macros. What is left requires less patching.

David, I hope this (and a finalizing set, I will prepare after this one is accepted) can go to current 2.6.27 merge window, but it is OK with me if your decision is to delay this till 2.6.28.