Skip to content

Commit

Permalink
ipv4: Export rtm_ipv4_policy.
Browse files Browse the repository at this point in the history
The MPLS code now needs it.

Fixes: 397fc9e ("mpls: route get support")
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Jul 4, 2017
1 parent 397fc9e commit bf72ace
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions net/ipv4/fib_frontend.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit bf72ace

Please sign in to comment.