diff options
author | Christian Perle <christian.perle@secunet.com> | 2017-06-12 11:06:57 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-12 16:53:14 +0300 |
commit | 3500cd73dff48f28f4ba80c171c4c80034d40f76 (patch) | |
tree | 254210ca403483ba2c2654c535ead8003c20358b /samples/kfifo | |
parent | 4b1f0d33db7d5bf92b5623e3ea2066e2de3999e3 (diff) | |
download | linux-3500cd73dff48f28f4ba80c171c4c80034d40f76.tar.xz |
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: 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>
Diffstat (limited to 'samples/kfifo')
0 files changed, 0 insertions, 0 deletions