> The attached patch implements proper locking in ALSA lseek methods.
> Note ALSA has 3 lseek implementations, but only:
> sound/core/info.c :: snd_info_entry_llseek()
> requires locking. I wrapped the function in the BKL. According to
> Jaroslav Kysela the gus_mem_proc method is only called from above. The
> third lseek, in hwdep.c, clearly doesn't need locking. Without this
> patch, the above lseek is not safe.
> Patch is against 2.5.5, please apply.
We have this patch already in our ALSA CVS tree, so it will be commited to
Linus in next patch round. Thanks.
Jaroslav Kysela <email@example.com>
Linux Kernel Sound Maintainer
ALSA Project http://www.alsa-project.org
SuSE Linux http://www.suse.com
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to firstname.lastname@example.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/