projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4b7c0b
)
xfrm: Const'ify local xfrm_address_t pointers in xfrm_policy_lookup_bytype.
author
David S. Miller
<davem@davemloft.net>
Thu, 24 Feb 2011 06:22:48 +0000
(
01:22
-0500)
committer
David S. Miller
<davem@davemloft.net>
Thu, 24 Feb 2011 07:07:43 +0000
(23:07 -0800)
Signed-off-by: David S. Miller <davem@davemloft.net>
net/xfrm/xfrm_policy.c
patch
|
blob
|
blame
|
history
diff --git
a/net/xfrm/xfrm_policy.c
b/net/xfrm/xfrm_policy.c
index 0c503be3260c27db7cf3cc1710f8f5877aead934..d09766893d187f41bcdf8a1123b831eef2a606fa 100644
(file)
--- a/
net/xfrm/xfrm_policy.c
+++ b/
net/xfrm/xfrm_policy.c
@@
-894,7
+894,7
@@
static struct xfrm_policy *xfrm_policy_lookup_bytype(struct net *net, u8 type,
{
int err;
struct xfrm_policy *pol, *ret;
- xfrm_address_t *daddr, *saddr;
+
const
xfrm_address_t *daddr, *saddr;
struct hlist_node *entry;
struct hlist_head *chain;
u32 priority = ~0U;
This page took
0.02615 seconds
and
5
git commands to generate.