1
0
mirror of https://git.proxmox.com/git/mirror_zfs.git synced 2025-04-01 04:00:22 +03:00
mirror_zfs/module
tuxoko 0d26756665 Fix out-of-bound in per_cpu in spl_random_init
When iterating per_cpu values, we need to use for_each_possible_cpu. While
NR_CPUS indicates the number of CPU supported by the kernel, it might not
initialize all of them if the kernel decides it's not possible to use them.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Chunwei Chen <david.chen@osnexus.com>
Closes 
2016-10-07 20:59:46 -07:00
..
spl Fix out-of-bound in per_cpu in spl_random_init 2016-10-07 20:59:46 -07:00
splat Fix aarch64 type warning 2016-10-01 18:33:01 -07:00
.gitignore gitignore: anchor entries at their respective directory 2013-04-02 11:07:52 -07:00
Makefile.in Prevent rm modules.* when make install 2015-12-02 14:38:20 -08:00