[IPSEC] pfkey: Load specific algorithm in pfkey_add rather than all
authorHerbert Xu <herbert@gondor.apana.org.au>
Sat, 19 May 2007 21:21:18 +0000 (14:21 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 19 May 2007 21:21:18 +0000 (14:21 -0700)
commitc92b3a2f1f11655ecf6774b745017a414241d07c
tree822a53d289b6848992b9476eb6e451f32b8daa5e
parent580e572a4a1bfea2f42af63ba4785ac7dfbcb45d
[IPSEC] pfkey: Load specific algorithm in pfkey_add rather than all

This is a natural extension of the changeset

    [XFRM]: Probe selected algorithm only.

which only removed the probe call for xfrm_user.  This patch does exactly
the same thing for af_key.  In other words, we load the algorithm requested
by the user rather than everything when adding xfrm states in af_key.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/key/af_key.c
net/xfrm/xfrm_algo.c