projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f795b2
)
xen-netback: use correct index for invalidation in xen_netbk_tx_check_gop()
author
Jan Beulich
<JBeulich@suse.com>
Fri, 18 Nov 2011 05:42:05 +0000
(
05:42
+0000)
committer
David S. Miller
<davem@davemloft.net>
Mon, 21 Nov 2011 20:32:15 +0000
(15:32 -0500)
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>
drivers/net/xen-netback/netback.c
patch
|
blob
|
history
diff --git
a/drivers/net/xen-netback/netback.c
b/drivers/net/xen-netback/netback.c
index
0cb594c
..
1ae270e
100644
(file)
--- 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);
}