diff options
author | Sathya Perla <sathyap@serverengines.com> | 2010-01-21 22:52:08 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-01-21 22:52:08 -0800 |
commit | 26d92f9276a56d55511a427fb70bd70886af647a (patch) | |
tree | dd7ce9164a504badabb7bfbe56c296ad1529d6fc /drivers/cdrom | |
parent | b94b50289622e816adc9f94111cfc2679c80177c (diff) | |
download | linux-26d92f9276a56d55511a427fb70bd70886af647a.tar.bz2 |
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 <sathyap@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/cdrom')
0 files changed, 0 insertions, 0 deletions