[XFRM]: Algorithm lookup using .compat name
authorMartin Willi <martin@strongswan.org>
Fri, 29 Dec 2006 05:27:48 +0000 (21:27 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 31 Dec 2006 22:06:51 +0000 (14:06 -0800)
commitb836267aa79c1c5e23e00d9cec047b6870ae0db1
treec66b785335c0ed1eb116c743aa5d3910e63ebe0a
parentcb4db4c22182163f66325053331a4e7096f663cd
[XFRM]: Algorithm lookup using .compat name

Installing an IPsec SA using old algorithm names (.compat) does not work
if the algorithm is not already loaded. When not using the PF_KEY
interface, algorithms are not preloaded in xfrm_probe_algs() and
installing a IPsec SA fails.

Signed-off-by: Martin Willi <martin@strongswan.org>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/xfrm/xfrm_algo.c