> @@ -2552,7 +2550,7 @@ static int pfkey_spdget(struct sock 
> *sk, struct sk_buff *skb, struct sadb_msg *h
>               return -EINVAL;
>  
>       xp = xfrm_policy_byid(XFRM_POLICY_TYPE_MAIN, dir, 
> pol->sadb_x_policy_id,
> -                           hdr->sadb_msg_type == SADB_X_SPDDELETE2);
> +                           hdr->sadb_msg_type == 
> SADB_X_SPDDELETE2, &err);
>       if (xp == NULL)
>               return -ENOENT;
I guess you meant to do this here?
        else if (err)
                return err;

Also, [Joy cc'd] deletions here needn't be audited?
-
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

Reply via email to