Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
b520e9f6
Commit
b520e9f6
authored
Feb 22, 2011
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xfrm: Mark flowi arg to xfrm_state_find() const.
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
1a898592
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
include/net/xfrm.h
include/net/xfrm.h
+4
-2
net/xfrm/xfrm_state.c
net/xfrm/xfrm_state.c
+1
-1
No files found.
include/net/xfrm.h
View file @
b520e9f6
...
...
@@ -1328,8 +1328,10 @@ extern int xfrm_state_walk(struct net *net, struct xfrm_state_walk *walk,
int
(
*
func
)(
struct
xfrm_state
*
,
int
,
void
*
),
void
*
);
extern
void
xfrm_state_walk_done
(
struct
xfrm_state_walk
*
walk
);
extern
struct
xfrm_state
*
xfrm_state_alloc
(
struct
net
*
net
);
extern
struct
xfrm_state
*
xfrm_state_find
(
xfrm_address_t
*
daddr
,
xfrm_address_t
*
saddr
,
struct
flowi
*
fl
,
struct
xfrm_tmpl
*
tmpl
,
extern
struct
xfrm_state
*
xfrm_state_find
(
xfrm_address_t
*
daddr
,
xfrm_address_t
*
saddr
,
const
struct
flowi
*
fl
,
struct
xfrm_tmpl
*
tmpl
,
struct
xfrm_policy
*
pol
,
int
*
err
,
unsigned
short
family
);
extern
struct
xfrm_state
*
xfrm_stateonly_find
(
struct
net
*
net
,
u32
mark
,
...
...
net/xfrm/xfrm_state.c
View file @
b520e9f6
...
...
@@ -785,7 +785,7 @@ static void xfrm_state_look_at(struct xfrm_policy *pol, struct xfrm_state *x,
struct
xfrm_state
*
xfrm_state_find
(
xfrm_address_t
*
daddr
,
xfrm_address_t
*
saddr
,
struct
flowi
*
fl
,
struct
xfrm_tmpl
*
tmpl
,
const
struct
flowi
*
fl
,
struct
xfrm_tmpl
*
tmpl
,
struct
xfrm_policy
*
pol
,
int
*
err
,
unsigned
short
family
)
{
...
...
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