Hi,
On 2016年03月28日 16:36, Takashi Iwai wrote:
On Mon, 28 Mar 2016 01:14:51 +0200,
Takashi Sakamoto wrote:
Hi,
On Mar 26 2016 21:05, Takashi Sakamoto wrote:
Hi,
This patchset is for Linux 4.6-rc2.
ALSA dice driver causes kernel NULL pointer dereference in a case that
no sound card instance is registered and unit is going to be removed.
This is observed when dice-based units are connected to Linux system and
disconnected within 2 seconds, thus it's rare.
Additionally, even if the bug is fixed, the driver dumps warnings for
most dice-based models which supports a pair of isochronous streams.
This can occur regardless of the former bug. Users can see this for
unsupported dice-based models.
This patchset fixes these bugs.
I realized that this patchset is not proper to Linux 4.6-rc2. The stream
data is confirmed to initialized in unit probe callback, and safely
released when releasing private data. I worked on the other branch and
had a confusion. So please drop this.
However, current ALSA dice driver has a bug not to release stream data
when releasing private data. This causes memory leak and should be fixed
in 4.6-rc2. I'll post a patch for the bug soon.
So, I don't need to pick up this patchset after applying your fix
([PATCH v2] ALSA: dice: fix memory leak when unplugging)?
Exactly. Sorry to trouble you.
thanks,
Takashi
Regards
Takashi Sakamoto
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel