ehea: Fix kernel deadlock in DLPAR-mem processing
authorJan-Bernd Themann <ossthema@de.ibm.com>
Tue, 15 Jun 2010 05:35:42 +0000 (05:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Jun 2010 01:05:27 +0000 (18:05 -0700)
Port reset operations and memory add/remove operations need to
be serialized to avoid a kernel deadlock. The deadlock is caused
by calling the napi_disable() function twice.
Therefore we have to employ the dlpar_mem_lock in the ehea_reset_port
function as well

Signed-off-by: Jan-Bernd Themann <themann@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found