Skip to content
Commit 3500cd73 authored by Christian Perle's avatar Christian Perle Committed by David S. Miller
Browse files

proc: snmp6: Use correct type in memset



Reading /proc/net/snmp6 yields bogus values on 32 bit kernels.
Use "u64" instead of "unsigned long" in sizeof().

Fixes: 4a4857b1 ("proc: Reduce cache miss in snmp6_seq_show")
Signed-off-by: default avatarChristian Perle <christian.perle@secunet.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4b1f0d33
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment