[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [linux-2.6.18-xen] netback: use correct index for invalidation in netbk_tx_check_mop()



# HG changeset patch
# User Jan Beulich <jbeulich@xxxxxxxx>
# Date 1321864396 -3600
# Node ID 3c4ee62def8335bc5b9d3333479d9f1f69621b90
# Parent  985b8f62df2525dc15ad573b2d748622cda9d2db
netback: use correct index for invalidation in netbk_tx_check_mop()

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
---


diff -r 985b8f62df25 -r 3c4ee62def83 drivers/xen/netback/netback.c
--- a/drivers/xen/netback/netback.c     Fri Nov 11 10:02:39 2011 +0100
+++ b/drivers/xen/netback/netback.c     Mon Nov 21 09:33:16 2011 +0100
@@ -1155,7 +1155,7 @@
                pending_idx = *((u16 *)skb->data);
                netif_idx_release(pending_idx);
                for (j = start; j < i; j++) {
-                       pending_idx = (unsigned long)shinfo->frags[i].page;
+                       pending_idx = (unsigned long)shinfo->frags[j].page;
                        netif_idx_release(pending_idx);
                }
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.