xfrm: Mark flowi arg to xfrm_resolve_and_create_bundle() const.
authorDavid S. Miller <davem@davemloft.net>
Wed, 23 Feb 2011 02:38:51 +0000 (18:38 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Feb 2011 02:38:51 +0000 (18:38 -0800)
Signed-off-by: David S. Miller <davem@davemloft.net>
net/xfrm/xfrm_policy.c

index 21d29e7b0a63c6277ff566bec0a79363b8618f60..ef899a8e33ce5c384f77b852404d6dbfd132d104 100644 (file)
@@ -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]);