aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/profile.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2011-03-24 04:50:15 -0400
committerTakashi Iwai <tiwai@suse.de>2011-03-25 14:22:50 -0400
commita45e3d6b13e97506b616980c0f122c3389bcefa4 (patch)
tree838017dcc314bd25b92c31204a15e6fef8a53f1c /include/linux/profile.h
parentb2e65c8e9133218eb28c30e79ddd3d66d4666ba0 (diff)
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 <russ.dill@gmail.com> Cc: <stable@kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/linux/profile.h')
0 files changed, 0 insertions, 0 deletions