diff options
| author | Takashi Iwai <tiwai@suse.de> | 2011-03-24 09:50:15 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-04-14 16:53:17 -0700 |
| commit | 06ac5c43d8bc08b4a480062dfd9ee80b6da13d2e (patch) | |
| tree | ece79b51ba411f7bd9d2639b7986a0aa0a09e613 /kernel | |
| parent | b99789074272c0cec8222c500db2d1d1d6f3bbcf (diff) | |
ALSA: Fix yet another race in disconnection
commit a45e3d6b13e97506b616980c0f122c3389bcefa4 upstream.
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 <russ.dill@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions
