aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSathya Perla2010-01-21 22:52:08 -0800
committerDavid S. Miller2010-01-21 22:52:08 -0800
commit26d92f9276a56d55511a427fb70bd70886af647a (patch)
treedd7ce9164a504badabb7bfbe56c296ad1529d6fc /include
parentb94b50289622e816adc9f94111cfc2679c80177c (diff)
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 'include')
0 files changed, 0 insertions, 0 deletions