xen-netback: fix extra_info handling in xenvif_tx_err()
authorPaul Durrant <[email protected]>
Thu, 12 May 2016 13:43:03 +0000 (14:43 +0100)
committerDavid S. Miller <[email protected]>
Fri, 13 May 2016 05:58:57 +0000 (01:58 -0400)
commit72eec92accabe3ec34f27a9d3cd459bf5a877c33
treed07b8efd285ace217906ebee72f712bbaabe5a54
parent2073dbad172f5d55545c1aadc5f7ce8792dfc060
xen-netback: fix extra_info handling in xenvif_tx_err()

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 <[email protected]>
Reported-by: Jan Beulich <[email protected]>
Cc: Wei Liu <[email protected]>
Acked-by: Wei Liu <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/xen-netback/netback.c