From: Sathya Perla Date: Fri, 22 Jan 2010 06:52:08 +0000 (-0800) Subject: be2net: fix bug in rx page posting X-Git-Tag: v2.6.33-rc6~29^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26d92f9276a56d55511a427fb70bd70886af647a;p=pandora-kernel.git be2net: fix bug in rx page posting Pages are posted to the rxq in such a way that more than one frag can share the page. The last frag that uses the page unmaps the page. In the case when a page is not fully used (due to lack of space in rxq) the last frag that uses the page is not being set as a "last_page_user"; instead, the next frag in the rxq is incorrectly being set. The fix has also been tested on ppc64 with 64k pages... Signed-off-by: Sathya Perla Signed-off-by: David S. Miller --- Reading git-diff-tree failed