kernel-fxtec-pro1x/net/xfrm
Eric Dumazet 0f99be0d11 [XFRM]: xfrm_algo_clone() allocates too much memory
alg_key_len is the length in bits of the key, not in bytes.

Best way to fix this is to move alg_len() function from net/xfrm/xfrm_user.c 
to include/net/xfrm.h, and to use it in xfrm_algo_clone()

alg_len() is renamed to xfrm_alg_len() because of its global exposition.

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-01-08 23:39:06 -08:00
..
Kconfig
Makefile
xfrm_algo.c cleanup asm/scatterlist.h includes 2007-11-02 08:47:06 +01:00
xfrm_hash.c
xfrm_hash.h
xfrm_input.c [IPSEC]: Fix length check in xfrm_parse_spi 2007-10-17 21:30:34 -07:00
xfrm_output.c [IPSEC]: Rename mode to outer_mode and add inner_mode 2007-10-17 21:35:51 -07:00
xfrm_policy.c [XFRM]: Audit function arguments misordered 2007-12-20 00:00:45 -08:00
xfrm_state.c [XFRM]: Do not define km_migrate() if !CONFIG_XFRM_MIGRATE 2008-01-04 00:47:03 -08:00
xfrm_user.c [XFRM]: xfrm_algo_clone() allocates too much memory 2008-01-08 23:39:06 -08:00