Re: [PATCH] idr: prevent NULL deref on lookups before insertions

From: Tejun Heo
Date: Wed Feb 20 2013 - 13:45:39 EST


Hello, Sasha.

On Wed, Feb 20, 2013 at 10:44 AM, Sasha Levin <sasha.levin@xxxxxxxxxx> wrote:
> 'hint' will be NULL if we're looking up before adding anything
> to the IDR.
>
> Signed-off-by: Sasha Levin <sasha.levin@xxxxxxxxxx>

Andy Shevchenko already posted fix (and free_layer() needs an update too).

Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/