From: David S. Miller Date: Wed, 23 Feb 2011 02:38:51 +0000 (-0800) Subject: xfrm: Mark flowi arg to xfrm_resolve_and_create_bundle() const. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4ca2e685114c55e6777022a46849795d2aa1d31a;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git xfrm: Mark flowi arg to xfrm_resolve_and_create_bundle() const. Signed-off-by: David S. Miller --- diff --git a/net/xfrm/xfrm_policy.c b/net/xfrm/xfrm_policy.c index 21d29e7b0a63..ef899a8e33ce 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]);