[PATCH openEuler-1.0-LTS 03/19] nbd: check sock index in nbd_read_stat()