Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1458870

Re: [PATCH] tpm: fix a race condition tpm2_unseal_trusted()

From Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Newsgroups linux.kernel
Subject Re: [PATCH] tpm: fix a race condition tpm2_unseal_trusted()
Date 2016-08-09 17:50 +0200
Message-ID <s4hrY-134-29@gated-at.bofh.it> (permalink)
References (2 earlier) <rX6KZ-6hA-7@gated-at.bofh.it> <rX74l-6Go-1@gated-at.bofh.it> <rXi9s-5pM-3@gated-at.bofh.it> <rXp1f-1pX-3@gated-at.bofh.it> <s4cBY-6kP-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Aug 09, 2016 at 01:36:29PM +0300, Jarkko Sakkinen wrote:

> Functionally my patch should not break anything. I understand the need
> for clean up of locking but why doing this now to make the driver
> non-racy would make clean up later on any harder?

Then rename the functions so they don't confusingly look like the
standard kernel pattern that doesn't lock.

Jason

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCH] tpm: fix a race condition tpm2_unseal_trusted() Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2016-08-09 12:40 +0200
  Re: [PATCH] tpm: fix a race condition tpm2_unseal_trusted() Jason Gunthorpe <jgunthorpe@obsidianresearch.com> - 2016-08-09 17:50 +0200

csiph-web