Re: [PATCH 01/23] TPM: Add new TPMs to the tail of the list to prevent inadvertent change of dev

Jason Gunthorpe
2018-08-21T21:51:21Z

On Tue, Aug 21, 2018 at 04:56:56PM +0100, David Howells wrote:
> Add newly registered TPMs to the tail of the list, not the beginning, so that
> things that are specifying TPM_ANY_NUM don't find that the device they're
> using has inadvertently changed. Adding a second device would break IMA, for
> instance.
>
> Signed-off-by: David Howells <dhowells@redhat.com>
> Reviewed-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
> Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
> cc: stable@vger.kernel.org
> ---

We really should apply this patch...

Jason