Re: [PATCH] procfs bug exposed by cdev changes

From: Florin Iucha (florin@iucha.net)
Date: Tue May 27 2003 - 23:38:21 EST


On Wed, May 28, 2003 at 01:31:05AM +0100, viro@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx wrote:
> Patch follows. It had fixed ALSA-triggered memory corruption here -
> what happens in vanilla 2.5.70 is that clear_inode() is not called when
> procfs character device inodes are freed. That leaves a freed inode on
> a cyclic list, with obvious unpleasantness following when we try to traverse
> it (e.g. when unregistering a device).
>
> Please, apply. Folks who'd seen oopsen/memory corruption after
> ALSA access - please, check if that fixes all problems.

It works fine. The ALSA loads, plays and unloads without a problem.

Thank you,
florin

--

"NT is to UNIX what a doughnut is to a particle accelerator."

Attachment: pgp00001.pgp
Description: PGP signature