summaryrefslogtreecommitdiffstats
path: root/src/plugins/avf/output.c
diff options
context:
space:
mode:
authorRadu Nicolau <radu.nicolau@intel.com>2021-04-15 14:11:49 +0000
committerDamjan Marion <dmarion@me.com>2021-04-15 15:24:06 +0000
commit746ca3a2d4ac02b97656510c776b8d3bc5c64534 (patch)
treecf68a44d7a26ae029c3202467504c75efb133b83 /src/plugins/avf/output.c
parent7e9d5ff0ef7826f867152c03e51ffdc54838cf79 (diff)
avf: fix tx path segfault
Type: fix Fixes: ca1812dbe714fc8e4de13f88df2d3b830d95a2c9 Signed-off-by: Radu Nicolau <radu.nicolau@intel.com> Change-Id: I657be40689caa0c9e202fb411da6323aafeab57e
Diffstat (limited to 'src/plugins/avf/output.c')
-rw-r--r--src/plugins/avf/output.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/avf/output.c b/src/plugins/avf/output.c
index cd5c97bbb83..3c65fb02ce8 100644
--- a/src/plugins/avf/output.c
+++ b/src/plugins/avf/output.c
@@ -454,6 +454,7 @@ retry:
}
txq->next = next & mask;
+ next = txq->next;
avf_tail_write (txq->qtx_tail, txq->next);
txq->n_enqueued += n_desc;
n_left -= n_enq;