[PATCH v3 06/16] tpm: clean up tpm_try_transmit() error handling flow

Jarkko Sakkinen jarkko.sakkinen at linux.intel.com
Tue Nov 6 06:01:33 UTC 2018


On Mon, Nov 05, 2018 at 05:20:33PM -0500, Stefan Berger wrote:
> > +out_locality:
> > +		if (has_locality)
> > +			tpm_relinquish_locality(chip, flags);
> 
> Safer to also put has_locality = false here ?

Not really sure why?

/Jarkko



More information about the Linux-security-module-archive mailing list