diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2008-07-15 10:00:43 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-15 10:05:13 +0400 |
commit | 0388b0042624714e6f8db8cc7994101a0a02d392 (patch) | |
tree | 597834169ca3cab001e2ad3094590c1c076e3736 /net/ipv4/icmp.c | |
parent | 61362766d769c934a9d12d5516323c544c161908 (diff) | |
download | linux-0388b0042624714e6f8db8cc7994101a0a02d392.tar.xz |
icmp: add struct net argument to icmp_out_count
This routine deals with ICMP statistics, but doesn't have a
struct net at hands, so add one.
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/icmp.c')
-rw-r--r-- | net/ipv4/icmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/icmp.c b/net/ipv4/icmp.c index aa7cf46853b7..1ffe7add4920 100644 --- a/net/ipv4/icmp.c +++ b/net/ipv4/icmp.c @@ -296,7 +296,7 @@ out: /* * Maintain the counters used in the SNMP statistics for outgoing ICMP */ -void icmp_out_count(unsigned char type) +void icmp_out_count(struct net *net, unsigned char type) { ICMPMSGOUT_INC_STATS(type); ICMP_INC_STATS(ICMP_MIB_OUTMSGS); |