Re: [PATCH v2] scatterlist: prevent invalid free when alloc fails

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Tejun Heo
Date: Monday, August 30, 2010 - 9:00 am

Hello,

On 08/30/2010 05:01 PM, Jeffrey Carlyle wrote:

Supposing it's verified to fix the same issue,

  Acked-by: Tejun Heo <tj@kernel.org>

trivial suggestions below,


I think it would be better why the adjustment is necessary.  IOW,
something like "Adjust entry count to reflect that the last entry of
the previous table won't be used for linkage.  Without this,
sg_kfree() may get confused."

Thanks.

-- 
tejun
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] scatterlist: prevent invalid free when alloc fails, Jeffrey Carlyle, (Thu Aug 26, 9:04 am)
Re: [PATCH v2] scatterlist: prevent invalid free when allo ..., Tejun Heo, (Mon Aug 30, 9:00 am)