Steffen Klassert af2f464e32 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>
2011-03-28 23:34:52 -07:00
..
2011-03-15 09:57:38 -05:00
2010-11-29 09:45:15 -08:00
2010-12-31 10:47:46 -08:00
2010-06-03 03:21:52 -07:00
2011-03-27 17:55:01 -07:00
2010-10-27 11:37:32 -07:00
2010-10-25 13:09:44 -07:00
2009-11-04 05:06:25 -08:00
2010-11-24 11:16:42 -08:00
2010-12-19 21:59:35 -08:00
2010-09-23 14:33:39 -07:00
2010-10-25 13:09:45 -07:00
2011-03-21 20:39:24 -07:00
2011-03-01 12:35:03 -08:00
2010-10-27 11:37:32 -07:00
2010-06-03 03:21:52 -07:00
2009-12-26 20:46:28 -08:00
2010-06-03 03:21:52 -07:00
2010-12-02 13:27:33 -08:00
2011-03-15 09:36:50 +09:00
2011-02-08 16:17:55 -08:00
2011-01-24 15:32:47 -08:00
2010-11-24 11:16:43 -08:00
2011-03-01 12:35:03 -08:00
2011-03-01 12:35:03 -08:00
2010-11-28 11:12:20 -08:00