Re: [patch 2.5] net: severe bug in icmp stats

David S. Miller (davem@redhat.com)
Tue, 01 Apr 2003 09:04:10 -0800 (PST)


From: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Date: Tue, 1 Apr 2003 18:57:07 +0400

I believe many of those weird crash reports with recent 2.5
kernels can be explained by wrong pointer arithmetic in
ICMP_INC_STATS_xx_FIELD macros.

(*((long *)((void *)ptr) + offt))++

Thanks a lot Ivan, patch applied.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/