On Tue, 17 Jan 2006, cxzhang wrote:
>
> Fix for a minor double xfrm_state_put() bug.
>
> ---
>
> net/key/af_key.c | 1 -
> 1 files changed, 1 deletion(-)
>
> diff -puN net/key/af_key.c~bugfix net/key/af_key.c
> --- linux-2.6.15/net/key/af_key.c~bugfix 2006-01-17 19:47:20.280890504
> -0500
> +++ linux-2.6.15-cxzhang/net/key/af_key.c 2006-01-17 19:48:55.725380736
> -0500
> @@ -1423,7 +1423,6 @@ static int pfkey_add(struct sock *sk, st
>
> if (err < 0) {
> x->km.state = XFRM_STATE_DEAD;
> - xfrm_state_put(x);
> goto out;
> }
>
> _
>
Acked-by: James Morris <[EMAIL PROTECTED]>
--
James Morris
<[EMAIL PROTECTED]>
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html