Skip to content
Commit fcf3d633 authored by Yu Kuai's avatar Yu Kuai Committed by Jens Axboe
Browse files

nbd: check sock index in nbd_read_stat()



The sock that clent send request in nbd_send_cmd() and receive reply
in nbd_read_stat() should be the same.

Signed-off-by: default avatarYu Kuai <yukuai3@huawei.com>
Reviewed-by: default avatarMing Lei <ming.lei@redhat.com>
Reviewed-by: default avatarJosef Bacik <josef@toxicpanda.com>
Link: https://lore.kernel.org/r/20210916093350.1410403-4-yukuai3@huawei.com
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 07175cb1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment