commit | 059686754c1870f182ce55495b81728763732d48 | [log] [tgz] |
---|---|---|
author | Christian Perle <christian.perle@secunet.com> | Mon Jun 12 10:06:57 2017 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Jul 05 14:40:15 2017 +0200 |
tree | 6bf7449623ba69c2bc9844ec070942301c8bffe4 | |
parent | 78b24ab695abafe4c5754a661a591b841661df8b [diff] |
proc: snmp6: Use correct type in memset [ Upstream commit 3500cd73dff48f28f4ba80c171c4c80034d40f76 ] Reading /proc/net/snmp6 yields bogus values on 32 bit kernels. Use "u64" instead of "unsigned long" in sizeof(). Fixes: 4a4857b1c81e ("proc: Reduce cache miss in snmp6_seq_show") Signed-off-by: Christian Perle <christian.perle@secunet.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>