From: Eric Dumazet Date: Tue, 11 Nov 2008 05:43:08 +0000 (-0800) Subject: net: fix /proc/net/snmp as memory corruptor X-Git-Tag: v2.6.28-rc5~90^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b971e7ac834e9f4bda96d5a96ae9abccd01c1dd8;p=pandora-kernel.git net: fix /proc/net/snmp as memory corruptor icmpmsg_put() can happily corrupt kernel memory, using a static table and forgetting to reset an array index in a loop. Remove the static array since its not safe without proper locking. Signed-off-by: Alexey Dobriyan Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed