diff options
author | Jan Beulich <JBeulich@suse.com> | 2011-11-18 05:42:05 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-11-21 15:32:15 -0500 |
commit | 5ccb3ea72097ee0c8ea1f200a2ade101caf08aa4 (patch) | |
tree | 7f7536c66fb7cb6abb9df64ab206ac5b7de1bb7b /drivers/net/xen-netback | |
parent | 4f795b25eaf1109c77abfc3b57cef9b993f3aede (diff) | |
download | op-kernel-dev-5ccb3ea72097ee0c8ea1f200a2ade101caf08aa4.zip op-kernel-dev-5ccb3ea72097ee0c8ea1f200a2ade101caf08aa4.tar.gz |
xen-netback: use correct index for invalidation in xen_netbk_tx_check_gop()
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Cc: stable@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/xen-netback')
-rw-r--r-- | drivers/net/xen-netback/netback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/xen-netback/netback.c b/drivers/net/xen-netback/netback.c index 0cb594c..1ae270e 100644 --- a/drivers/net/xen-netback/netback.c +++ b/drivers/net/xen-netback/netback.c @@ -1021,7 +1021,7 @@ static int xen_netbk_tx_check_gop(struct xen_netbk *netbk, pending_idx = *((u16 *)skb->data); xen_netbk_idx_release(netbk, pending_idx); for (j = start; j < i; j++) { - pending_idx = frag_get_pending_idx(&shinfo->frags[i]); + pending_idx = frag_get_pending_idx(&shinfo->frags[j]); xen_netbk_idx_release(netbk, pending_idx); } |