Explorar el Código

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>
David S. Miller hace 8 años
padre
commit
bf72acefeb
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      net/ipv4/fib_frontend.c

+ 1 - 0
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_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,