From: Ilya Yanok Date: Tue, 26 Oct 2010 23:52:58 +0000 (+0200) Subject: powerpc/512x: try to free dma descriptors in case of allocation failure X-Git-Tag: v2.6.38-rc1~405^2~2^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a276991357c63bfb8d3ffdf5800054dba4f8d558;p=pandora-kernel.git powerpc/512x: try to free dma descriptors in case of allocation failure Currently completed descriptors are processed in the tasklet. This can lead to dead lock in case of CONFIG_NET_DMA enabled (new requests are submitted from softirq context and dma_memcpy_to_iovec() busy loops until the requests is submitted). To prevent this we should process completed descriptors from the allocation failure path in prepare_memcpy too. Signed-off-by: Ilya Yanok Cc: Piotr Ziecik Signed-off-by: Grant Likely --- Reading git-diff-tree failed