projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7db454b
)
xfrm: Const'ify ptr args to xfrm_policy_ok.
author
David S. Miller
<davem@davemloft.net>
Thu, 24 Feb 2011 06:43:33 +0000
(
01:43
-0500)
committer
David S. Miller
<davem@davemloft.net>
Thu, 24 Feb 2011 07:07:46 +0000
(23:07 -0800)
Signed-off-by: David S. Miller <davem@davemloft.net>
net/xfrm/xfrm_policy.c
patch
|
blob
|
history
diff --git
a/net/xfrm/xfrm_policy.c
b/net/xfrm/xfrm_policy.c
index
f766e5f
..
2de0bc2
100644
(file)
--- a/
net/xfrm/xfrm_policy.c
+++ b/
net/xfrm/xfrm_policy.c
@@
-1956,7
+1956,7
@@
xfrm_state_ok(const struct xfrm_tmpl *tmpl, const struct xfrm_state *x,
* Otherwise "-2 - errored_index" is returned.
*/
static inline int
-xfrm_policy_ok(
struct xfrm_tmpl *tmpl,
struct sec_path *sp, int start,
+xfrm_policy_ok(
const struct xfrm_tmpl *tmpl, const
struct sec_path *sp, int start,
unsigned short family)
{
int idx = start;