From: Herbert Xu Date: Tue, 30 Dec 2008 07:04:08 +0000 (-0800) Subject: net: Fix percpu counters deadlock X-Git-Tag: v2.6.29-rc1~557^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb4dea5853046727bfbb579f0c9a8cae7369f7c6;p=pandora-kernel.git net: Fix percpu counters deadlock When we converted the protocol atomic counters such as the orphan count and the total socket count deadlocks were introduced due to the mismatch in BH status of the spots that used the percpu counter operations. Based on the diagnosis and patch by Peter Zijlstra, this patch fixes these issues by disabling BH where we may be in process context. Reported-by: Jeff Kirsher Tested-by: Ingo Molnar Signed-off-by: Herbert Xu Signed-off-by: David S. Miller --- Reading git-diff-tree failed