diff options
author | Christian Perle <christian.perle@secunet.com> | 2017-06-12 08:06:57 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-07-05 12:40:15 (GMT) |
commit | 059686754c1870f182ce55495b81728763732d48 (patch) | |
tree | 6bf7449623ba69c2bc9844ec070942301c8bffe4 /net/bridge/br_forward.c | |
parent | 78b24ab695abafe4c5754a661a591b841661df8b (diff) | |
download | linux-059686754c1870f182ce55495b81728763732d48.tar.xz |
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>
Diffstat (limited to 'net/bridge/br_forward.c')
0 files changed, 0 insertions, 0 deletions