From: Wei Liu Date: Tue, 12 Aug 2014 10:48:07 +0000 (+0100) Subject: xen-netback: don't stop dealloc kthread too early X-Git-Tag: omap-for-v3.17/fixes-against-rc2~59^2~15^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a64bd934528e26e8956112e43a279fba2ee0634e;p=pandora-kernel.git xen-netback: don't stop dealloc kthread too early Reference count the number of packets in host stack, so that we don't stop the deallocation thread too early. If not, we can end up with xenvif_free permanently waiting for deallocation thread to unmap grefs. Reported-by: Thomas Leonard Signed-off-by: Wei Liu Cc: Ian Campbell Cc: Zoltan Kiss Signed-off-by: David S. Miller --- Reading git-diff-tree failed