Skip to contentSkip to conversation

xfrm: Mark flowi arg to xfrm_resolve_and_create_bundle() const.

PATCH New David Miller 1 participant 1 message Feb 23, 2011

Subsystems (3)
lore
Share & tools
lore

David Miller

author maintainer
#0 lore raw

PATCH 19/20 xfrm: Mark flowi arg to xfrm_resolve_and_create_bundle() const.

---
 net/xfrm/xfrm_policy.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
net/xfrm/xfrm_policy.c +1 -1
index 21d29e7b..ef899a8 100644
@@ -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]);
Signature · 1 line
1.7.4.1