]> git.baikalelectronics.ru Git - 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)
commit74cb9e919f7f725e8eaeb77f95da0802edaa7d47
tree09acc87af2002c2f737b83613394959120aee2c0
parent6295f6e96f2af8314aad71205589d637825aec12
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