xen/netback: fix incorrect usage of RING_HAS_UNCONSUMED_REQUESTS()
Subsystems (3)
PATCH 1/1 xen/netback: fix incorrect usage of RING_HAS_UNCONSUMED_REQUESTS()
Commit 6fac592cca60 ("xen: update ring.h") missed to fix one use case of RING_HAS_UNCONSUMED_REQUESTS().
Reported-by Jan Beulich <[email protected]>
Fixes 6fac592cca60 ("xen: update ring.h")
Signed-off-by Juergen Gross <[email protected]>
--- drivers/net/xen-netback/netback.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/xen-netback/netback.c +1 -1
@@ -828,7 +828,7 @@ static void xenvif_tx_build_gops(struct xenvif_queue *queue,break ; } - work_to_do =RING_HAS_UNCONSUMED_REQUESTS (&queue->tx); + work_to_do =XEN_RING_NR_UNCONSUMED_REQUESTS (&queue->tx);if (!work_to_do)break ;
Signature · 1 line
2.35.3
Quoted 6 lines · Juergen Gross
Commit
6fac592cca60("xen: updatering.h") missed to fix one use case ofRING_HAS_UNCONSUMED_REQUESTS().Reported-by Jan Beulich <[email protected]>Fixes 6fac592cca60 ("xen: update ring.h")Signed-off-by Juergen Gross <[email protected]>
Reviewed-by Jan Beulich <[email protected]>
Quoted 6 lines · Juergen Gross
Commit
6fac592cca60("xen: updatering.h") missed to fix one use case ofRING_HAS_UNCONSUMED_REQUESTS().Reported-by Jan Beulich <[email protected]>Fixes 6fac592cca60 ("xen: update ring.h")Signed-off-by Juergen Gross <[email protected]>
Acked-by Wei Liu <[email protected]>
This patch was applied to netdev/net.git (master) by Paolo Abeni <[email protected]>:
Hello:
This patch was applied to netdev/net.git (master)
by Paolo Abeni <[email protected]>:
Quoted 8 lines · On Mon, 30 May 2022 13:34:59 +0200 you wrote:
Commit
6fac592cca60("xen: updatering.h") missed to fix one use case ofRING_HAS_UNCONSUMED_REQUESTS().Reported-by Jan Beulich <[email protected]>Fixes 6fac592cca60 ("xen: update ring.h")Signed-off-by Juergen Gross <[email protected]>[...]
Here is the summary with links:
- xen/netback: fix incorrect usage of RING_HAS_UNCONSUMED_REQUESTS()
https://git.kernel.org/netdev/net/c/09e545f73814
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html