diff options
| author | Takashi Iwai <[email protected]> | 2011-03-24 08:50:15 +0000 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2011-03-25 18:22:50 +0000 |
| commit | a45e3d6b13e97506b616980c0f122c3389bcefa4 (patch) | |
| tree | 838017dcc314bd25b92c31204a15e6fef8a53f1c /tools/perf/builtin-script.c | |
| parent | ALSA: asihpi - Update verbose debug print macros (diff) | |
| download | kernel-a45e3d6b13e97506b616980c0f122c3389bcefa4.tar.gz kernel-a45e3d6b13e97506b616980c0f122c3389bcefa4.zip | |
ALSA: Fix yet another race in disconnection
This patch fixes a race between snd_card_file_remove() and
snd_card_disconnect(). When the card is added to shutdown_files list
in snd_card_disconnect(), but it's freed in snd_card_file_remove() at
the same time, the shutdown_files list gets corrupted. The list member
must be freed in snd_card_file_remove() as well.
Reported-and-tested-by: Russ Dill <[email protected]>
Cc: <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions
