]> git.karo-electronics.de Git - karo-tx-linux.git/commit
crush: ensure take bucket value is valid
authorIlya Dryomov <idryomov@gmail.com>
Sun, 31 Jan 2016 13:36:05 +0000 (14:36 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 3 Feb 2016 13:37:17 +0000 (14:37 +0100)
commit86a8e50d53849247894a21b800ca0252bd3497ca
tree0ccfe9a3f823e53bd1880f83fcf1be815b8e7c8e
parent3b723e72440809a19ea8e2493abfcbd0dc741864
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>
net/ceph/crush/mapper.c