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
0c7b3eef
Commit
0c7b3eef
authored
Feb 22, 2011
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xfrm: Mark flowi arg to ->fill_dst() const.
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
05d84025
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
include/net/xfrm.h
include/net/xfrm.h
+1
-1
net/ipv4/xfrm4_policy.c
net/ipv4/xfrm4_policy.c
+1
-1
net/ipv6/xfrm6_policy.c
net/ipv6/xfrm6_policy.c
+1
-1
net/xfrm/xfrm_policy.c
net/xfrm/xfrm_policy.c
+1
-1
No files found.
include/net/xfrm.h
View file @
0c7b3eef
...
...
@@ -279,7 +279,7 @@ struct xfrm_policy_afinfo {
int
nfheader_len
);
int
(
*
fill_dst
)(
struct
xfrm_dst
*
xdst
,
struct
net_device
*
dev
,
struct
flowi
*
fl
);
const
struct
flowi
*
fl
);
};
extern
int
xfrm_policy_register_afinfo
(
struct
xfrm_policy_afinfo
*
afinfo
);
...
...
net/ipv4/xfrm4_policy.c
View file @
0c7b3eef
...
...
@@ -68,7 +68,7 @@ static int xfrm4_init_path(struct xfrm_dst *path, struct dst_entry *dst,
}
static
int
xfrm4_fill_dst
(
struct
xfrm_dst
*
xdst
,
struct
net_device
*
dev
,
struct
flowi
*
fl
)
const
struct
flowi
*
fl
)
{
struct
rtable
*
rt
=
(
struct
rtable
*
)
xdst
->
route
;
...
...
net/ipv6/xfrm6_policy.c
View file @
0c7b3eef
...
...
@@ -87,7 +87,7 @@ static int xfrm6_init_path(struct xfrm_dst *path, struct dst_entry *dst,
}
static
int
xfrm6_fill_dst
(
struct
xfrm_dst
*
xdst
,
struct
net_device
*
dev
,
struct
flowi
*
fl
)
const
struct
flowi
*
fl
)
{
struct
rt6_info
*
rt
=
(
struct
rt6_info
*
)
xdst
->
route
;
...
...
net/xfrm/xfrm_policy.c
View file @
0c7b3eef
...
...
@@ -1369,7 +1369,7 @@ static inline int xfrm_init_path(struct xfrm_dst *path, struct dst_entry *dst,
}
static
inline
int
xfrm_fill_dst
(
struct
xfrm_dst
*
xdst
,
struct
net_device
*
dev
,
struct
flowi
*
fl
)
const
struct
flowi
*
fl
)
{
struct
xfrm_policy_afinfo
*
afinfo
=
xfrm_policy_get_afinfo
(
xdst
->
u
.
dst
.
ops
->
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