diff options
author | Jan Beulich <JBeulich@suse.com> | 2011-11-18 06:42:05 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-11-21 21:32:15 +0100 |
commit | 5ccb3ea72097ee0c8ea1f200a2ade101caf08aa4 (patch) | |
tree | 7f7536c66fb7cb6abb9df64ab206ac5b7de1bb7b /drivers | |
parent | stmmac: mask mmc interrupts (diff) | |
download | linux-5ccb3ea72097ee0c8ea1f200a2ade101caf08aa4.tar.xz linux-5ccb3ea72097ee0c8ea1f200a2ade101caf08aa4.zip |
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')
-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 0cb594c86090..1ae270eed51a 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); } |