diff options
| author | Eric Dumazet <[email protected]> | 2008-01-09 07:39:06 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2008-01-09 07:39:06 +0000 |
| commit | 0f99be0d115a5716292c58dfdb20d2eddd0f3387 (patch) | |
| tree | a4c8fc6262add152fa7207e40a5f02b18c9bedde /fs/proc/array.c | |
| parent | [FORCEDETH]: Fix reversing the MAC address on suspend. (diff) | |
| download | kernel-0f99be0d115a5716292c58dfdb20d2eddd0f3387.tar.gz kernel-0f99be0d115a5716292c58dfdb20d2eddd0f3387.zip | |
[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 <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
