projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63eb23f
)
xfrm: Const'ify policy arg to clone_policy.
author
David S. Miller
<davem@davemloft.net>
Thu, 24 Feb 2011 06:25:41 +0000
(
01:25
-0500)
committer
David S. Miller
<davem@davemloft.net>
Thu, 24 Feb 2011 07:07:44 +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
9f6c7a7
..
f1f90af
100644
(file)
--- a/
net/xfrm/xfrm_policy.c
+++ b/
net/xfrm/xfrm_policy.c
@@
-1105,7
+1105,7
@@
int xfrm_sk_policy_insert(struct sock *sk, int dir, struct xfrm_policy *pol)
return 0;
}
-static struct xfrm_policy *clone_policy(struct xfrm_policy *old, int dir)
+static struct xfrm_policy *clone_policy(
const
struct xfrm_policy *old, int dir)
{
struct xfrm_policy *newp = xfrm_policy_alloc(xp_net(old), GFP_ATOMIC);