Re: [PATCH v3 1/2] tpm: fix reference counting for struct tpm_chip
From: Lino Sanfilippo
Date: Fri Feb 05 2021 - 05:43:35 EST
Hi Stefan,
On 05.02.21 01:46, Stefan Berger wrote:
> On 2/4/21 6:50 PM, Lino Sanfilippo wrote:
>> Signed-off-by: Lino Sanfilippo <l.sanfilippo@xxxxxxxxxx>
>
> Tested-by: Stefan Berger <stefanb@xxxxxxxxxxxxx>
>
> Steps:
>
> modprobe tpm_vtpm_proxy
>
> swtpm chardev --vtpm-proxy --tpm2 --tpmstate dir=./ &
>
> exec 100<>/dev/tpmrm1
>
> kill -9 <swtpm pid>
>
> rmmod tpm_vtpm_proxy
>
> exec 100>&- # fails before, works after --> great job! :-)
>
>
Great, thank you very much for testing!
Best Regards,
Lino