Commit ef749c8
committed
ALSA: seq: Avoid client data changes during proc reads
The proc read of each client should protect against the concurrent
data changes to keep the data consistent; although they are supposed
to be safe and won't crash things, it doesn't guarantee the
consistency between the read values. Take client->ioctl_mutex for
protecting against the concurrent changes.
Link: https://patch.msgid.link/20250307084246.29271-2-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>1 parent e3cd33a commit ef749c8
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2706 | 2706 | | |
2707 | 2707 | | |
2708 | 2708 | | |
| 2709 | + | |
2709 | 2710 | | |
2710 | 2711 | | |
2711 | 2712 | | |
| |||
2723 | 2724 | | |
2724 | 2725 | | |
2725 | 2726 | | |
| 2727 | + | |
2726 | 2728 | | |
2727 | 2729 | | |
2728 | 2730 | | |
| |||
0 commit comments