]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/ipv4/icmp.c
icmp: add struct net argument to icmp_out_count
[net-next-2.6.git] / net / ipv4 / icmp.c
index aa7cf46853b78be1edb4944ec84e7aa8ec14a8eb..1ffe7add4920213ef1341453570a4203f46962cf 100644 (file)
@@ -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);