
void icmp_out_count(struct net *net, unsigned char type)
{
     ICMPMSGOUT_INC_STATS(net, type);
-    ICMP_INC_STATS(net, ICMP_MIB_OUTMSGS);
+    ICMP_INC_STATS(net ? net : &init_net, ICMP_MIB_OUTMSGS);
}
