]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Oct 2012 20:28:05 +0000 (05:28 +0900)
commitcc4d0d8d729d4195bb22bff0de4139a3050a8c4f
treedf40b03599c855cf9a4d076e30e6c284b9a789ea
parentc33fcb85ee97f354c5fbdb841b0be01a9c90f9b5
xfrm_user: don't copy esn replay window twice for new states

[ Upstream commit e3ac104d41a97b42316915020ba228c505447d21 ]

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

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