aboutsummaryrefslogtreecommitdiffstats
path: root/sound/core/rawmidi.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2020-12-06 09:34:56 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-01-06 14:56:52 +0100
commitcf7fe671cd7eba22a4e4dbcd786fee57669b432b (patch)
tree37fecae9ca37985f3983c71f2ddd9a54ab8c52e3 /sound/core/rawmidi.c
parent1c5a034710da75d5a422482f5535dda8ab048b60 (diff)
downloadkernel_replicant_linux-cf7fe671cd7eba22a4e4dbcd786fee57669b432b.tar.gz
kernel_replicant_linux-cf7fe671cd7eba22a4e4dbcd786fee57669b432b.tar.bz2
kernel_replicant_linux-cf7fe671cd7eba22a4e4dbcd786fee57669b432b.zip
ALSA: seq: Use bool for snd_seq_queue internal flags
commit 4ebd47037027c4beae99680bff3b20fdee5d7c1e upstream. The snd_seq_queue struct contains various flags in the bit fields. Those are categorized to two different use cases, both of which are protected by different spinlocks. That implies that there are still potential risks of the bad operations for bit fields by concurrent accesses. For addressing the problem, this patch rearranges those flags to be a standard bool instead of a bit field. Reported-by: syzbot+63cbe31877bb80ef58f5@syzkaller.appspotmail.com Link: https://lore.kernel.org/r/20201206083456.21110-1-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/core/rawmidi.c')
0 files changed, 0 insertions, 0 deletions