[alsa-devel] [PATCH] ASoC: Intel: Cancel hsw_notification_work before freeing the stream

Mark Brown broonie at kernel.org
Thu Apr 24 12:32:35 CEST 2014


On Thu, Apr 24, 2014 at 10:34:36AM +0300, Jarkko Nikula wrote:
> I suppose there is a possibility that hsw_notification_work() may run after
> sst_hsw_stream_free() which can lead to a kernel crash since struct
> sst_hsw_stream is freed at that point and
> stream = container_of(work, struct sst_hsw_stream, notify_work) is not valid
> when hsw_notification_work() is run.

Applied, thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20140424/a3f18798/attachment.sig>


More information about the Alsa-devel mailing list