]> git.karo-electronics.de Git - karo-tx-linux.git/commit
jme: Fix unmap error (Causing system freeze)
authorGuo-Fu Tseng <cooldavid@cooldavid.org>
Wed, 20 Jul 2011 16:57:36 +0000 (16:57 +0000)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 17 May 2012 15:21:16 +0000 (11:21 -0400)
commit8b28676fa63d66d6db418952f5ef9db42f40a2da
treeb2d69d370a9a2656c73b719ceac2f742a97c59d7
parentec1492939a5174027522d84c73a1cd4329fb62c4
jme: Fix unmap error (Causing system freeze)

commit 94c5b41b327e08de0ddf563237855f55080652a1 upstream.

This patch add the missing dma_unmap().
Which solved the critical issue of system freeze on heavy load.

Michal Miroslaw's rejected patch:
[PATCH v2 10/46] net: jme: convert to generic DMA API
Pointed out the issue also, thank you Michal.
But the fix was incorrect. It would unmap needed address
when low memory.

Got lots of feedback from End user and Gentoo Bugzilla.
https://bugs.gentoo.org/show_bug.cgi?id=373109
Thank you all. :)

Signed-off-by: Guo-Fu Tseng <cooldavid@cooldavid.org>
Acked-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/net/jme.c