diff options
author | Steffen Klassert <steffen.klassert@secunet.com> | 2011-03-28 21:46:39 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-03-29 08:34:52 +0200 |
commit | af2f464e326ebad57284cfdecb03f1606e89bbc7 (patch) | |
tree | 0b9f1e9918a47f49e1454a0df5e045a0d627050d /kernel/resource.c | |
parent | xfrm: Move the test on replay window size into the replay check functions (diff) | |
download | linux-af2f464e326ebad57284cfdecb03f1606e89bbc7.tar.xz linux-af2f464e326ebad57284cfdecb03f1606e89bbc7.zip |
xfrm: Assign esn pointers when cloning a state
When we clone a xfrm state we have to assign the replay_esn
and the preplay_esn pointers to the state if we use the
new replay detection method. To this end, we add a
xfrm_replay_clone() function that allocates memory for
the replay detection and takes over the necessary values
from the original state.
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/resource.c')
0 files changed, 0 insertions, 0 deletions