From: David S. Miller Date: Thu, 24 Feb 2011 05:16:53 +0000 (-0500) Subject: xfrm: Const'ify address arguments to __xfrm_dst_lookup() X-Git-Tag: firefly_0821_release~7613^2~2196^2~269 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6418c4e07991a7b405d86bd4579c670b50fec99d;p=firefly-linux-kernel-4.4.55.git xfrm: Const'ify address arguments to __xfrm_dst_lookup() Signed-off-by: David S. Miller --- diff --git a/net/xfrm/xfrm_policy.c b/net/xfrm/xfrm_policy.c index 4827c8db864d..5f19ae66ac2d 100644 --- a/net/xfrm/xfrm_policy.c +++ b/net/xfrm/xfrm_policy.c @@ -92,8 +92,8 @@ int xfrm_selector_match(const struct xfrm_selector *sel, const struct flowi *fl, } static inline struct dst_entry *__xfrm_dst_lookup(struct net *net, int tos, - xfrm_address_t *saddr, - xfrm_address_t *daddr, + const xfrm_address_t *saddr, + const xfrm_address_t *daddr, int family) { struct xfrm_policy_afinfo *afinfo;