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

index 3d45456..a558dc7 100644 (file)
@@ -1390,7 +1390,7 @@ static inline int xfrm_fill_dst(struct xfrm_dst *xdst, struct net_device *dev,
 
 static struct dst_entry *xfrm_bundle_create(struct xfrm_policy *policy,
                                            struct xfrm_state **xfrm, int nx,
-                                           struct flowi *fl,
+                                           const struct flowi *fl,
                                            struct dst_entry *dst)
 {
        struct net *net = xp_net(policy);