]> git.karo-electronics.de Git - linux-beck.git/commitdiff
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 3d45456832687df6d08a3524ae7344cc3326ce7a..a558dc78bbeed87b21f746f61d9d81a2274788ca 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);