Re: [PATCH] Add SPD Priority for PF_KEY Interface

From: Herbert Xu
Date: Tue Apr 13 2004 - 21:28:21 EST


Brian Buesker <bbuesker@xxxxxxxxxxxx> wrote:
>
> diff -aru linux-2.6.5.orig/net/key/af_key.c linux-2.6.5/net/key/af_key.c
> --- linux-2.6.5.orig/net/key/af_key.c 2004-04-05 08:26:54.360692320 -0700
> +++ linux-2.6.5/net/key/af_key.c 2004-04-05 08:27:12.133680342 -0700
> @@ -1872,6 +1872,7 @@
>
> xp->action = (pol->sadb_x_policy_type == IPSEC_POLICY_DISCARD ?
> XFRM_POLICY_BLOCK : XFRM_POLICY_ALLOW);
> + xp->priority = pol->sadb_x_policy_priority;
>
> sa = ext_hdrs[SADB_EXT_ADDRESS_SRC-1],
> xp->family = pfkey_sadb_addr2xfrm_addr(sa, &xp->selector.saddr);
>

Where's the code to set sadb_x_policy_priority for the get operation?
--
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html