Re: [PATCH v3 2/2] tpm: in tpm2_del_space check if ops pointer is still valid

From: Lino Sanfilippo
Date: Sat Mar 06 2021 - 11:12:18 EST


Hi James,

> On 05.02.21 01:34, James Bottomley wrote:
>> The reporter went silent before we could get this tested, but could you
>> try, please, because your patch is still hand rolling the ops get/put,
>> just slightly better than it had been done previously.
>
> I tested your patch and it fixes the issue. Your solution seems indeed much cleaner.
>
> FWIW:
>
> Tested-by: Lino Sanfilippo <l.sanfilippo@xxxxxxxxxx>
>

Are you going to send a patch for this? As stated above I verified that your
solution fixes the issue.

Best regards,
Lino