]> www.infradead.org Git - users/jedix/linux-maple.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)
committerGuangyu Sun <guangyu.sun@oracle.com>
Wed, 17 Oct 2012 18:24:19 +0000 (11:24 -0700)
commit66291a49b4cf7a8fae06a1188f5d5f891a82a9cd
treec0ac7869427569055fe561f356eb2da74134a016
parent02493108701ed90f020f61a2def2ea5328bc6ac5
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>
Signed-off-by: Guangyu Sun <guangyu.sun@oracle.com>
net/xfrm/xfrm_user.c