Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
0ac84752
Commit
0ac84752
authored
Mar 20, 2006
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[XFRM]: Make sure xfrm_replay_timer_handler() is declared early enough.
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
8c29bfe1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
net/xfrm/xfrm_state.c
net/xfrm/xfrm_state.c
+2
-2
No files found.
net/xfrm/xfrm_state.c
View file @
0ac84752
...
@@ -179,6 +179,8 @@ out:
...
@@ -179,6 +179,8 @@ out:
xfrm_state_put
(
x
);
xfrm_state_put
(
x
);
}
}
static
void
xfrm_replay_timer_handler
(
unsigned
long
data
);
struct
xfrm_state
*
xfrm_state_alloc
(
void
)
struct
xfrm_state
*
xfrm_state_alloc
(
void
)
{
{
struct
xfrm_state
*
x
;
struct
xfrm_state
*
x
;
...
@@ -815,11 +817,9 @@ void xfrm_replay_notify(struct xfrm_state *x, int event)
...
@@ -815,11 +817,9 @@ void xfrm_replay_notify(struct xfrm_state *x, int event)
c
.
data
.
aevent
=
event
;
c
.
data
.
aevent
=
event
;
km_state_notify
(
x
,
&
c
);
km_state_notify
(
x
,
&
c
);
resched:
if
(
x
->
replay_maxage
&&
if
(
x
->
replay_maxage
&&
!
mod_timer
(
&
x
->
rtimer
,
jiffies
+
x
->
replay_maxage
))
!
mod_timer
(
&
x
->
rtimer
,
jiffies
+
x
->
replay_maxage
))
xfrm_state_hold
(
x
);
xfrm_state_hold
(
x
);
}
}
static
void
xfrm_replay_timer_handler
(
unsigned
long
data
)
static
void
xfrm_replay_timer_handler
(
unsigned
long
data
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment