OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e33f770
)
xfrm: Mark flowi arg to xfrm_state_look_at() const.
author
David S. Miller
<davem@davemloft.net>
Wed, 23 Feb 2011 02:21:31 +0000
(18:21 -0800)
committer
David S. Miller
<davem@davemloft.net>
Wed, 23 Feb 2011 02:21:31 +0000
(18:21 -0800)
Signed-off-by: David S. Miller <davem@davemloft.net>
net/xfrm/xfrm_state.c
patch
|
blob
|
history
diff --git
a/net/xfrm/xfrm_state.c
b/net/xfrm/xfrm_state.c
index
220ebc0
..
bffe83d
100644
(file)
--- a/
net/xfrm/xfrm_state.c
+++ b/
net/xfrm/xfrm_state.c
@@
-746,7
+746,7
@@
static void xfrm_hash_grow_check(struct net *net, int have_hash_collision)
}
static void xfrm_state_look_at(struct xfrm_policy *pol, struct xfrm_state *x,
- struct flowi *fl, unsigned short family,
+
const
struct flowi *fl, unsigned short family,
xfrm_address_t *daddr, xfrm_address_t *saddr,
struct xfrm_state **best, int *acq_in_progress,
int *error)