Patch 562abd39 "xen-netback: support multiple extra info fragments passed from frontend" contained a mistake which can result in an in- correct number of responses being generated when handling errors encountered when processing packets containing extra info fragments. This patch fixes the problem.
Unified · Split
| @@ -711,6 +711,7 @@ static void xenvif_tx_err(struct xenvif_queue *queue, · 710 unmodified lines | |||
| 711 | if (cons == end) | 711 | if (cons == end) |
| 712 | break; | 712 | break; |
| 713 | RING_COPY_REQUEST(&queue->tx, cons++, txp); | 713 | RING_COPY_REQUEST(&queue->tx, cons++, txp); |
| 714 | extra_count = 0; /* only the first frag can have extras */ | ||
| 714 | } while (1); | 715 | } while (1); |
| 715 | queue->tx.req_cons = cons; | 716 | queue->tx.req_cons = cons; |
| 716 | } | 717 | } |