projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e6b930
)
xfrm: Const'ify address arguments to __xfrm_dst_lookup()
author
David S. Miller
<davem@davemloft.net>
Thu, 24 Feb 2011 05:16:53 +0000
(
00:16
-0500)
committer
David S. Miller
<davem@davemloft.net>
Thu, 24 Feb 2011 07:07:39 +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 4827c8db864ddcce454c55a0c05c20f0b6f62ba5..5f19ae66ac2d553b96905265ca2cba291d5eb50a 100644
(file)
--- a/
net/xfrm/xfrm_policy.c
+++ b/
net/xfrm/xfrm_policy.c
@@
-92,8
+92,8
@@
int xfrm_selector_match(const struct xfrm_selector *sel, const struct flowi *fl,
}
static inline struct dst_entry *__xfrm_dst_lookup(struct net *net, int tos,
- xfrm_address_t *saddr,
- xfrm_address_t *daddr,
+
const
xfrm_address_t *saddr,
+
const
xfrm_address_t *daddr,
int family)
{
struct xfrm_policy_afinfo *afinfo;