xfrm_user: don't copy esn replay window twice for new states
authorMathias Krause <minipli@googlemail.com>
Wed, 19 Sep 2012 11:33:43 +0000 (11:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Sep 2012 22:08:40 +0000 (18:08 -0400)
commite3ac104d41a97b42316915020ba228c505447d21
tree70dbdb447f4bb01c2aac7240267a9844eab29e36
parentecd7918745234e423dd87fcc0c077da557909720
xfrm_user: don't copy esn replay window twice for new states

The ESN replay window was already fully initialized in
xfrm_alloc_replay_state_esn(). No need to copy it again.

Cc: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: Mathias Krause <minipli@googlemail.com>
Acked-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/xfrm/xfrm_user.c