From ca4a1cd930d74370cc64a8dd4491fba365986bb1 Mon Sep 17 00:00:00 2001 From: Roopa Prabhu Date: Tue, 4 Jul 2017 17:03:02 -0700 Subject: mpls: fix rtm policy in mpls_getroute fix rtm policy name typo in mpls_getroute and also remove export of rtm_ipv4_policy Fixes: 397fc9e5cefe ("mpls: route get support") Reported-by: David S. Miller Signed-off-by: Roopa Prabhu Signed-off-by: David S. Miller --- net/mpls/af_mpls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net/mpls') diff --git a/net/mpls/af_mpls.c b/net/mpls/af_mpls.c index e17d6cd2dd45..bdcfb2d04cd2 100644 --- a/net/mpls/af_mpls.c +++ b/net/mpls/af_mpls.c @@ -2091,7 +2091,7 @@ static int mpls_getroute(struct sk_buff *in_skb, struct nlmsghdr *in_nlh, u8 n_labels; err = nlmsg_parse(in_nlh, sizeof(*rtm), tb, RTA_MAX, - rtm_ipv4_policy, extack); + rtm_mpls_policy, extack); if (err < 0) goto errout; -- cgit v1.2.3