]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
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)
commite756682c8baa47da1648c0c016e9f48ed66bc32d
treee226eebfbdb826f79607751f719ebaaaf810b229
parent665c8c8ee405738375b679246b49342ce38ba056
xfrm: Fix off by one in the replay advance functions

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>
net/xfrm/xfrm_replay.c