summaryrefslogtreecommitdiffstats
path: root/mm/bounce.c
diff options
context:
space:
mode:
authorKirill Tkhai <ktkhai@parallels.com>2014-02-14 12:47:57 +0100
committerTakashi Iwai <tiwai@suse.de>2014-02-14 14:41:52 +0100
commit115b94d51a3ee1b7dfffa74f77e20cd11da70b91 (patch)
tree447f055272dd38953873fdf14a86ebdb68c51806 /mm/bounce.c
parentALSA: Drop __bitwise and typedefs for snd_device attributes (diff)
downloadlinux-115b94d51a3ee1b7dfffa74f77e20cd11da70b91.tar.xz
linux-115b94d51a3ee1b7dfffa74f77e20cd11da70b91.zip
ALSA: ak4117: Do not free priv until timer handler hasn't actually stopped using it
Function del_timer() does not guarantee that timer was really deleted. If the timer handler is beeing executed at the moment, the function does nothing. So, it's possible to use already freed memory in the handler: [ref: Documentation/DocBook/kernel-locking.tmpl] This was found using grep and compile-tested only. Signed-off-by: Kirill Tkhai <ktkhai@parallels.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'mm/bounce.c')
0 files changed, 0 insertions, 0 deletions