| Submitter | Luis Henriques |
|---|---|
| Date | Feb. 8, 2013, 10:09 a.m. |
| Message ID | <1360318149-9448-7-git-send-email-luis.henriques@canonical.com> |
| Download | mbox | patch |
| Permalink | /patch/219090/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/drivers/net/xen-netback/netback.c b/drivers/net/xen-netback/netback.c index 9a5189e..e4e5724 100644 --- a/drivers/net/xen-netback/netback.c +++ b/drivers/net/xen-netback/netback.c @@ -851,7 +851,7 @@ static void netbk_tx_err(struct xenvif *vif, do { make_tx_response(vif, txp, XEN_NETIF_RSP_ERROR); - if (cons >= end) + if (cons == end) break; txp = RING_GET_REQUEST(&vif->tx, cons++); } while (1);