linux-stable/net/ceph/crush
Ilya Dryomov 56a4f3091d crush: ensure take bucket value is valid
Ensure that the take argument is a valid bucket ID before indexing the
buckets array.

Reflects ceph.git commit 93ec538e8a667699876b72459b8ad78966d89c61.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2016-02-04 18:25:50 +01:00
..
crush.c crush: sync up with userspace 2015-06-25 11:49:31 +03:00
crush_ln_table.h crush: sync up with userspace 2015-06-25 11:49:31 +03:00
hash.c crush: sync up with userspace 2015-06-25 11:49:31 +03:00
mapper.c crush: ensure take bucket value is valid 2016-02-04 18:25:50 +01:00