Protect tpm_chip_list when transversing it.
authorRajiv Andrade <srajiv@linux.vnet.ibm.com>
Fri, 10 Oct 2008 22:04:23 +0000 (09:04 +1100)
committerJames Morris <jmorris@namei.org>
Fri, 10 Oct 2008 22:04:23 +0000 (09:04 +1100)
commitf02a93645e6200a9da0f26dac8ced28c612f5e86
tree2fc93ca32c93f6f91af1efefa2e8c103f65931f1
parentdc36d32cc5bea5e985294c79995e10a159c3019a
Protect tpm_chip_list when transversing it.

Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Signed-off-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com>
Acked-by: Serge E. Hallyn <serue@us.ibm.com>
Cc: "Paul E. McKenney" <paulmck@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: James Morris <jmorris@namei.org>
drivers/char/tpm/tpm.c