projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d27648
)
alsa_write: Avoid hung tasks.
author
Andre Noll
<maan@tuebingen.mpg.de>
Thu, 7 Jan 2021 23:55:13 +0000
(
00:55
+0100)
committer
Andre Noll
<maan@tuebingen.mpg.de>
Thu, 7 Jan 2021 23:55:13 +0000
(
00:55
+0100)
Without this fix the alsa writer may never shutdown, occupying a
slot of audiod. The hang was observed with in conjunction to the
udp receiver and the prebuffer filter. See also the recent commit
23913cbbfc98
.
alsa_write.c
patch
|
blob
|
history
diff --git
a/alsa_write.c
b/alsa_write.c
index
363e393
..
bc06fc3
100644
(file)
--- a/
alsa_write.c
+++ b/
alsa_write.c
@@
-266,6
+266,8
@@
static int alsa_write_post_select(__a_unused struct sched *s, void *context)
goto err;
again:
ret = btr_node_status(btrn, wn->min_iqs, BTR_NT_LEAF);
+ if (ret < 0)
+ goto err;
if (ret == 0)
return 0;
btr_merge(btrn, wn->min_iqs);