From: Steffen Klassert Date: Mon, 28 Mar 2011 19:46:39 +0000 (+0000) Subject: xfrm: Assign esn pointers when cloning a state X-Git-Tag: v2.6.39-rc1~9^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af2f464e326ebad57284cfdecb03f1606e89bbc7;p=pandora-kernel.git 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 Acked-by: Herbert Xu Signed-off-by: David S. Miller --- Reading git-diff-tree failed