ipv4: Export rtm_ipv4_policy.
authorDavid S. Miller <davem@davemloft.net>
Tue, 4 Jul 2017 14:17:30 +0000 (15:17 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Jul 2017 14:17:30 +0000 (15:17 +0100)
The MPLS code now needs it.

Fixes: 397fc9e5cefe ("mpls: route get support")
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_frontend.c

index 4e678fa892ddcf1985fb37c3627a660a8f69da9d..1b5860f5b9d75a33681273c0aa758b71a732e815 100644 (file)
@@ -626,6 +626,7 @@ 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,