Re: dpt_i2o.c fix for possibly memory corruption on reset timeout

Joern Engel (joern@wohnheim.fh-wedel.de)
Fri, 14 Mar 2003 13:02:25 +0100


On Fri, 14 March 2003 11:18:49 +0200, Denis Vlasenko wrote:
>
> I don't like the whole idea that mem leak is tolerable.
>
> Can we just add a 4 byte scratch pad status to
> struct _adpt_hba? Let it scribble there...

I've had the same idea, but there might be some pitfalls around.
The problem boils down to the users of the buffer. Is it per-device,
per-process, per-whatever?

Once this is known I'm all for putting the buffer into a per-whatever
data structure. But someone has to understand the driver first. :)

Jörn

-- 
Everything should be made as simple as possible, but not simpler.
-- Albert Einstein
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/