[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160512141533.GL8063@citrix.com>
Date: Thu, 12 May 2016 15:15:33 +0100
From: Wei Liu <wei.liu2@...rix.com>
To: Paul Durrant <paul.durrant@...rix.com>
CC: <xen-devel@...ts.xenproject.org>, <netdev@...r.kernel.org>,
Wei Liu <wei.liu2@...rix.com>
Subject: Re: [PATCH net] xen-netback: fix extra_info handling in
xenvif_tx_err()
On Thu, May 12, 2016 at 02:43:03PM +0100, Paul Durrant wrote:
> 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.
>
> Signed-off-by: Paul Durrant <paul.durrant@...rix.com>
> Reported-by: Jan Beulich <JBeulich@...e.com>
> Cc: Wei Liu <wei.liu2@...rix.com>
Acked-by: Wei Liu <wei.liu2@...rix.com>
> ---
> drivers/net/xen-netback/netback.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/net/xen-netback/netback.c b/drivers/net/xen-netback/netback.c
> index b42f260..4412a57 100644
> --- a/drivers/net/xen-netback/netback.c
> +++ b/drivers/net/xen-netback/netback.c
> @@ -711,6 +711,7 @@ static void xenvif_tx_err(struct xenvif_queue *queue,
> if (cons == end)
> break;
> RING_COPY_REQUEST(&queue->tx, cons++, txp);
> + extra_count = 0; /* only the first frag can have extras */
> } while (1);
> queue->tx.req_cons = cons;
> }
> --
> 2.1.4
>
Powered by blists - more mailing lists