]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
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)
commit099473c16bac7b936994bc95b5fd96f36397e1ad
tree09acc87af2002c2f737b83613394959120aee2c0
parenta91fb143de61dce847e319ca79b9937a665ad622
ehea: Fix kernel deadlock in DLPAR-mem processing

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>
drivers/net/ehea/ehea.h
drivers/net/ehea/ehea_main.c