Re: [patch] xfrm_policy destructor fix

From: David S. Miller
Date: Fri Apr 01 2005 - 01:30:21 EST


On Sat, 26 Mar 2005 12:11:45 +1100
Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> wrote:

> So here is a patch to simplify xfrm_policy_kill() by moving the
> GC linking after the write_unlock_bh().
>
> Actually, as the code stands, xfrm_policy_kill() should/will never
> be called twice on the same policy. So we can add a warning to
> catch that.
>
> Signed-off-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>

Applied, thanks Herbert.
-
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/