summaryrefslogtreecommitdiffstats
path: root/net/mpls
diff options
context:
space:
mode:
authorRoopa Prabhu <roopa@cumulusnetworks.com>2017-07-04 17:03:02 -0700
committerDavid S. Miller <davem@davemloft.net>2017-07-05 09:04:32 +0100
commitca4a1cd930d74370cc64a8dd4491fba365986bb1 (patch)
treeebc2359394b231ac5c8ea374b5db9b5fdb4b9ae3 /net/mpls
parentdcc13ee85f15325c1c28d6e8214f2884cca25b75 (diff)
downloadlinux-stable-ca4a1cd930d74370cc64a8dd4491fba365986bb1.tar.gz
linux-stable-ca4a1cd930d74370cc64a8dd4491fba365986bb1.tar.bz2
linux-stable-ca4a1cd930d74370cc64a8dd4491fba365986bb1.zip
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 <davem@davemloft.net> Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mpls')
-rw-r--r--net/mpls/af_mpls.c2
1 files changed, 1 insertions, 1 deletions
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;