xfrm: Simplify the replay check and advance functions
commit1d9743745bf5ba30b57986d8da33c4fa072c355b
authorSteffen Klassert <steffen.klassert@secunet.com>
Tue, 11 Oct 2011 01:58:37 +0000 (11 01:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Oct 2011 03:51:30 +0000 (18 23:51 -0400)
tree0c17d35afb44595a5241f8549cd832ca3cc55ddf
parenta4886d522e18e5d4a63b95a5ead72f6105e3ef98
xfrm: Simplify the replay check and advance functions

The replay check and replay advance functions had some code
duplications. This patch removes the duplications.

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