From: Takashi Iwai Date: Sat, 19 May 2012 15:21:25 +0000 (+0200) Subject: ALSA: hda - Fix possible races of accesses to connection list array X-Git-Tag: v3.5-rc1~118^2~2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09cf03b80c593b08e8b630a145e14f485200b5af;p=pandora-kernel.git ALSA: hda - Fix possible races of accesses to connection list array Like the previous fixes for cache hash accesses, a protection over accesses to the widget connection list array must be provided. Together with this action, remove snd_hda_get_conn_list() which can be always race, and replace it with either snd_hda_get_num_conns() or snd_hda_get_connections() calls. Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed