projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f884806
)
xfrm: Const'ify ptr args to xfrm_state_ok.
author
David S. Miller
<davem@davemloft.net>
Thu, 24 Feb 2011 06:43:01 +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 3a4221a71b098fee51ad7ce103786469dee9c782..f766e5fb718f8d5e7d05be5ed79ece893c5730eb 100644
(file)
--- a/
net/xfrm/xfrm_policy.c
+++ b/
net/xfrm/xfrm_policy.c
@@
-1933,7
+1933,7
@@
xfrm_secpath_reject(int idx, struct sk_buff *skb, const struct flowi *fl)
*/
static inline int
-xfrm_state_ok(
struct xfrm_tmpl *tmpl,
struct xfrm_state *x,
+xfrm_state_ok(
const struct xfrm_tmpl *tmpl, const
struct xfrm_state *x,
unsigned short family)
{
if (xfrm_state_kern(x))