Re: [PATCH] Add SPD Priority for PF_KEY Interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Brian Buesker <bbuesker@qualcomm.com> 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@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux