xfrm: Move the test on replay window size into the replay check functions
authorSteffen Klassert <steffen.klassert@secunet.com>
Mon, 28 Mar 2011 19:45:52 +0000 (19:45 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Mar 2011 06:34:51 +0000 (23:34 -0700)
As it is, the replay check is just performed if the replay window of the
legacy implementation is nonzero. So we move the test on a nonzero replay
window inside the replay check functions to be sure we are testing for the
right implementation.

Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found