summaryrefslogtreecommitdiffstats
path: root/net/ipv4/fib_frontend.c
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/ipv4/fib_frontend.c
parentdcc13ee85f15325c1c28d6e8214f2884cca25b75 (diff)
downloadop-kernel-dev-ca4a1cd930d74370cc64a8dd4491fba365986bb1.zip
op-kernel-dev-ca4a1cd930d74370cc64a8dd4491fba365986bb1.tar.gz
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/ipv4/fib_frontend.c')
-rw-r--r--net/ipv4/fib_frontend.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/ipv4/fib_frontend.c b/net/ipv4/fib_frontend.c
index 1b5860f..4e678fa 100644
--- a/net/ipv4/fib_frontend.c
+++ b/net/ipv4/fib_frontend.c
@@ -626,7 +626,6 @@ const struct nla_policy rtm_ipv4_policy[RTA_MAX + 1] = {
[RTA_UID] = { .type = NLA_U32 },
[RTA_MARK] = { .type = NLA_U32 },
};
-EXPORT_SYMBOL_GPL(rtm_ipv4_policy);
static int rtm_to_fib_config(struct net *net, struct sk_buff *skb,
struct nlmsghdr *nlh, struct fib_config *cfg,
OpenPOWER on IntegriCloud