aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/icmp.c
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2008-07-15 02:00:43 -0400
committerDavid S. Miller <davem@davemloft.net>2008-07-15 02:05:13 -0400
commit0388b0042624714e6f8db8cc7994101a0a02d392 (patch)
tree597834169ca3cab001e2ad3094590c1c076e3736 /net/ipv4/icmp.c
parent61362766d769c934a9d12d5516323c544c161908 (diff)
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/icmp.c b/net/ipv4/icmp.c
index aa7cf46853b..1ffe7add492 100644
--- a/net/ipv4/icmp.c
+++ b/net/ipv4/icmp.c
@@ -296,7 +296,7 @@ out:
296/* 296/*
297 * Maintain the counters used in the SNMP statistics for outgoing ICMP 297 * Maintain the counters used in the SNMP statistics for outgoing ICMP
298 */ 298 */
299void icmp_out_count(unsigned char type) 299void icmp_out_count(struct net *net, unsigned char type)
300{ 300{
301 ICMPMSGOUT_INC_STATS(type); 301 ICMPMSGOUT_INC_STATS(type);
302 ICMP_INC_STATS(ICMP_MIB_OUTMSGS); 302 ICMP_INC_STATS(ICMP_MIB_OUTMSGS);