From: Stefan Richter Date: Tue, 16 Dec 2008 19:34:23 +0000 (+0100) Subject: firewire: fw-ohci: fix IOMMU resource exhaustion X-Git-Tag: v2.6.27.10~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc7c91468b80aab044dd9dd61c3492cf57dffabb;p=pandora-kernel.git firewire: fw-ohci: fix IOMMU resource exhaustion commit 1d1dc5e83f3299c108a4e44d58cc4bfef48c876a upstream. There is a DMA map/ unmap imbalance whenever a block write request packet is sent and then dequeued with ohci_cancel_packet. The latter may happen frequently if the AR resp tasklet is executed before the AT req tasklet for the same transaction. Add the missing dma_unmap_single. This fixes https://bugzilla.redhat.com/show_bug.cgi?id=475156 Reported-by: Emmanuel Kowalski Tested-by: Emmanuel Kowalski Signed-off-by: Stefan Richter Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed