summaryrefslogtreecommitdiffstats
path: root/net/xfrm
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2006-03-20 19:18:23 -0800
committerDavid S. Miller <davem@davemloft.net>2006-03-20 19:18:23 -0800
commit0ac8475248164553ffe21948c7b1a4b9d2a935dc (patch)
tree45495847e8ea192c45c9babbd4b9e8c51d82692f /net/xfrm
parent8c29bfe1cfbe6050c797a6364a0cc0ff57c377fc (diff)
downloadkernel-crypto-0ac8475248164553ffe21948c7b1a4b9d2a935dc.tar.gz
kernel-crypto-0ac8475248164553ffe21948c7b1a4b9d2a935dc.tar.xz
kernel-crypto-0ac8475248164553ffe21948c7b1a4b9d2a935dc.zip
[XFRM]: Make sure xfrm_replay_timer_handler() is declared early enough.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm')
-rw-r--r--net/xfrm/xfrm_state.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/xfrm/xfrm_state.c b/net/xfrm/xfrm_state.c
index 8df547d7d61..cd1d5e11ee7 100644
--- a/net/xfrm/xfrm_state.c
+++ b/net/xfrm/xfrm_state.c
@@ -179,6 +179,8 @@ out:
xfrm_state_put(x);
}
+static void xfrm_replay_timer_handler(unsigned long data);
+
struct xfrm_state *xfrm_state_alloc(void)
{
struct xfrm_state *x;
@@ -815,11 +817,9 @@ void xfrm_replay_notify(struct xfrm_state *x, int event)
c.data.aevent = event;
km_state_notify(x, &c);
-resched:
if (x->replay_maxage &&
!mod_timer(&x->rtimer, jiffies + x->replay_maxage))
xfrm_state_hold(x);
-
}
static void xfrm_replay_timer_handler(unsigned long data)