xfrm: Fix off by one in the replay advance functions
authorSteffen Klassert <steffen.klassert@secunet.com>
Sun, 5 Jun 2011 20:46:03 +0000 (20:46 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Jun 2011 04:14:39 +0000 (21:14 -0700)
We may write 4 byte too much when we reinitialize the anti replay
window in the replay advance functions. This patch fixes this by
adjusting the last index of the initialization loop.

Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found