Stefan Berger/Watson/IBM@IBMUS wrote on 02/12/2016 05:23:16 PM:
>
> Jason Gunthorpe <[email protected]> wrote on 02/12/
> 2016 04:15:38 PM:
> >
> > On Fri, Feb 12, 2016 at 03:44:14PM -0500, Stefan Berger wrote:
> > > What I observed is that both tpm_chip and vtpm_dev structuresare
freed
> > > once the last one of two sides (/dev/tpmX or server side file
> > > descriptor) closes.
> >
> > Hmmm...
> >
> > I don't see how that can happen. Looking at the tpm cdev, it is
>
> Well, following my tests, it does happen.
Also I am zeroing tpm_chip and vtpm_dev structures before the free.
Nothing bad happens in any combination of device opening / closing tests I
did.
Stefan
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
tpmdd-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tpmdd-devel