Skip to content

MIB: add struct net to ICMP accounting macros

Pavel Emelyanov netdev 1 version Applied

Status from this message: Applied.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 7 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/7ICMP: add struct net argument to icmp_out_countinclude/net/icmp.h net/ipv4/icmp.c net/ipv4/ip_output.c +1 more+7 -41 reply
2/7INET: toss struct net initialization aroundnet/dccp/ipv4.c net/ipv4/icmp.c net/ipv4/tcp_ipv4.c +1 more+7 -61 reply
3/7ICMP: drop unused MIB accounting wrappersinclude/net/icmp.h+0 -51 reply
4/7MIB: add struct net to ICMP_INC_STATSinclude/net/icmp.h net/ipv4/icmp.c+2 -21 reply
5/7MIB: add struct net to ICMP_INC_STATS_BHinclude/net/icmp.h net/dccp/ipv4.c net/ipv4/icmp.c +3 more+14 -131 reply
6/7MIB: add struct net to ICMPMSGOUT_INC_STATSinclude/net/icmp.h net/ipv4/icmp.c+2 -21 reply
7/7MIB: add struct net to ICMPMSGIN_INC_STATS_BHinclude/net/icmp.h net/ipv4/icmp.c+2 -21 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH net-next 0/7] MIB: add struct net to ICMP accounting macros

Step #2. This is almost as easy as the UDP case, but requires some preparation to have a struct net at hands in some places.

David, there are (mainly) NET, TCP and IP(6) stats left and I planned to send them step-by-step with small series (and plus the closing one with SNMP_XXX macros, etc). But if you prefer seeing one large set instead of several small ones just let me know ;)