diff options
author | Takashi Iwai <tiwai@suse.de> | 2019-11-06 18:42:57 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-11-06 19:57:52 +0300 |
commit | fdea53fe5de532969a332d6e5e727f2ad8bf084d (patch) | |
tree | edb9a592f464c587aa6ac1afb50fd194f3479459 /sound/soc/mediatek/common/mtk-btcvsd.c | |
parent | b65f131b8f47b399a0635f028af3888f8c741ae1 (diff) | |
download | linux-fdea53fe5de532969a332d6e5e727f2ad8bf084d.tar.xz |
ALSA: timer: Limit max amount of slave instances
The fuzzer tries to open the timer instances as much as possible, and
this may cause a system hiccup easily. We've already introduced the
cap for the max number of available instances for the h/w timers, and
we should put such a limit also to the slave timers, too.
This patch introduces the limit to the multiple opened slave timers.
The upper limit is hard-coded to 1000 for now, which should suffice
for any practical usages up to now.
Link: https://lore.kernel.org/r/20191106154257.5853-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/soc/mediatek/common/mtk-btcvsd.c')
0 files changed, 0 insertions, 0 deletions