]> bbs.cooldavid.org Git - jme.git/commit
jme: Fix unmap error (Causing system freeze)
authorGuo-Fu Tseng <cooldavid@cooldavid.org>
Thu, 21 Jul 2011 02:21:05 +0000 (10:21 +0800)
committerGuo-Fu Tseng <cooldavid@cooldavid.org>
Thu, 21 Jul 2011 02:31:30 +0000 (10:31 +0800)
commit1eef180c6c36524255aee362949a54232548f979
treeecacf11e71b2bfac50995b697815446a642d6c91
parent577bdf881d4d5a747a08f4ce0fb971ff3f14b77f
jme: Fix unmap error (Causing system freeze)

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. :)
jme.c