summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2017-07-04 16:17:30 +0200
committerDavid S. Miller <davem@davemloft.net>2017-07-04 16:17:30 +0200
commitbf72acefebb459af3c805a386cd7e5456e3ad6ee (patch)
tree5e50500eab520963395f7e63b8e9dfc5c1788872
parentmpls: route get support (diff)
downloadlinux-bf72acefebb459af3c805a386cd7e5456e3ad6ee.tar.xz
linux-bf72acefebb459af3c805a386cd7e5456e3ad6ee.zip
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,