提交 bf72acef 编写于 作者: D David S. Miller

ipv4: Export rtm_ipv4_policy.

The MPLS code now needs it.

Fixes: 397fc9e5 ("mpls: route get support")
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 397fc9e5
...@@ -626,6 +626,7 @@ const struct nla_policy rtm_ipv4_policy[RTA_MAX + 1] = { ...@@ -626,6 +626,7 @@ const struct nla_policy rtm_ipv4_policy[RTA_MAX + 1] = {
[RTA_UID] = { .type = NLA_U32 }, [RTA_UID] = { .type = NLA_U32 },
[RTA_MARK] = { .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, static int rtm_to_fib_config(struct net *net, struct sk_buff *skb,
struct nlmsghdr *nlh, struct fib_config *cfg, struct nlmsghdr *nlh, struct fib_config *cfg,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册