diff options
| -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 6fff911dc134..c65b636bcab9 100644 --- a/drivers/net/xen-netback/netback.c +++ b/drivers/net/xen-netback/netback.c | |||
| @@ -1045,7 +1045,6 @@ static int xenvif_tx_check_gop(struct xenvif_queue *queue, | |||
| 1045 | 1045 | ||
| 1046 | /* Check status of header. */ | 1046 | /* Check status of header. */ |
| 1047 | err = (*gopp_copy)->status; | 1047 | err = (*gopp_copy)->status; |
| 1048 | (*gopp_copy)++; | ||
| 1049 | if (unlikely(err)) { | 1048 | if (unlikely(err)) { |
| 1050 | if (net_ratelimit()) | 1049 | if (net_ratelimit()) |
| 1051 | netdev_dbg(queue->vif->dev, | 1050 | netdev_dbg(queue->vif->dev, |
| @@ -1058,6 +1057,7 @@ static int xenvif_tx_check_gop(struct xenvif_queue *queue, | |||
| 1058 | xenvif_idx_release(queue, pending_idx, | 1057 | xenvif_idx_release(queue, pending_idx, |
| 1059 | XEN_NETIF_RSP_ERROR); | 1058 | XEN_NETIF_RSP_ERROR); |
| 1060 | } | 1059 | } |
| 1060 | (*gopp_copy)++; | ||
| 1061 | 1061 | ||
| 1062 | check_frags: | 1062 | check_frags: |
| 1063 | for (i = 0; i < nr_frags; i++, gop_map++) { | 1063 | for (i = 0; i < nr_frags; i++, gop_map++) { |
