diff options
author | Eric Dumazet <dada1@cosmosbay.com> | 2008-11-10 21:43:08 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-10 21:43:08 -0800 |
commit | b971e7ac834e9f4bda96d5a96ae9abccd01c1dd8 (patch) | |
tree | 35c8712758f3113030da5e3a295fe9f8c4b70d25 /net/core/skbuff.c | |
parent | 013cd397532e5803a1625954a884d021653da720 (diff) | |
download | lwn-b971e7ac834e9f4bda96d5a96ae9abccd01c1dd8.tar.gz lwn-b971e7ac834e9f4bda96d5a96ae9abccd01c1dd8.zip |
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 <adobriyan@gmail.com>
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/skbuff.c')
0 files changed, 0 insertions, 0 deletions