
+#include <assert.h>

void icmp_out_count(struct net *net, unsigned char type)
{
+    assert(net != NULL);
     ICMPMSGOUT_INC_STATS(net, type);
     ICMP_INC_STATS(net, ICMP_MIB_OUTMSGS);
}
