Re: [PATCH 6/6] tpm2: add session handle context saving and restoring to the space code
From: Jarkko Sakkinen
Date: Fri Feb 10 2017 - 04:22:29 EST
On Wed, Feb 08, 2017 at 01:07:08PM +0200, Jarkko Sakkinen wrote:
> + rc = tpm2_load_context(chip, space->session_buf,
> + &offset, &handle);
> + if (rc == -ENOENT) {
> + /* load failed, just forget session */
> + space->session_tbl[i] = 0;
This is my only concern in this commit. Should we also in this case just
flush the space or not?
/Jarkko