xfrm: Clone states properly on migration
authorSteffen Klassert <steffen.klassert@secunet.com>
Wed, 19 Feb 2014 12:33:24 +0000 (13:33 +0100)
committerSteffen Klassert <steffen.klassert@secunet.com>
Thu, 20 Feb 2014 13:30:10 +0000 (14:30 +0100)
We loose a lot of information of the original state if we
clone it with xfrm_state_clone(). In particular, there is
no crypto algorithm attached if the original state uses
an aead algorithm. This patch add the missing information
to the clone state.

Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>

No differences found