summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2017-07-04 15:17:30 +0100
committerDavid S. Miller <davem@davemloft.net>2017-07-04 15:17:30 +0100
commitbf72acefebb459af3c805a386cd7e5456e3ad6ee (patch)
tree5e50500eab520963395f7e63b8e9dfc5c1788872
parent397fc9e5cefee0c33b86811fbddb0decb7288c52 (diff)
downloadlinux-bf72acefebb459af3c805a386cd7e5456e3ad6ee.tar.bz2
ipv4: Export rtm_ipv4_policy.
The MPLS code now needs it. Fixes: 397fc9e5cefe ("mpls: route get support") Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/ipv4/fib_frontend.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/fib_frontend.c b/net/ipv4/fib_frontend.c
index 4e678fa892dd..1b5860f5b9d7 100644
--- a/net/ipv4/fib_frontend.c
+++ b/net/ipv4/fib_frontend.c
@@ -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,