summaryrefslogtreecommitdiff
path: root/net/xfrm/xfrm_policy.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-02-23 02:38:51 (GMT)
committerDavid S. Miller <davem@davemloft.net>2011-02-23 02:38:51 (GMT)
commit4ca2e685114c55e6777022a46849795d2aa1d31a (patch)
tree058e3c5f23897170373350cca927fc649ba2e728 /net/xfrm/xfrm_policy.c
parent3f0e18fb0e33784525322e51cbfa10369cebd912 (diff)
downloadlinux-4ca2e685114c55e6777022a46849795d2aa1d31a.tar.xz
xfrm: Mark flowi arg to xfrm_resolve_and_create_bundle() const.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm/xfrm_policy.c')
-rw-r--r--net/xfrm/xfrm_policy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/xfrm/xfrm_policy.c b/net/xfrm/xfrm_policy.c
index 21d29e7b..ef899a8 100644
--- a/net/xfrm/xfrm_policy.c
+++ b/net/xfrm/xfrm_policy.c
@@ -1586,7 +1586,7 @@ static int xfrm_expand_policies(const struct flowi *fl, u16 family,
static struct xfrm_dst *
xfrm_resolve_and_create_bundle(struct xfrm_policy **pols, int num_pols,
- struct flowi *fl, u16 family,
+ const struct flowi *fl, u16 family,
struct dst_entry *dst_orig)
{
struct net *net = xp_net(pols[0]);