]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit2b3b3a71d63bb25136cf8cb6ccd59a7b557b50cb
treec66b785335c0ed1eb116c743aa5d3910e63ebe0a
parentb94d0bef8b99c31c4c70c650f5c95702dea46d39
[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