rtnl: make ifla_policy static
The only place this is used outside rtnetlink.c is veth. So provide wrapper function for this usage. Signed-off-by: Jiri Pirko <jiri@resnulli.us> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
e83abe37ba
commit
f7b12606b5
@@ -140,7 +140,7 @@ struct net_device *rtnl_create_link(struct net *net, char *ifname,
|
||||
struct nlattr *tb[]);
|
||||
int rtnl_configure_link(struct net_device *dev, const struct ifinfomsg *ifm);
|
||||
|
||||
extern const struct nla_policy ifla_policy[IFLA_MAX+1];
|
||||
int rtnl_nla_parse_ifla(struct nlattr **tb, const struct nlattr *head, int len);
|
||||
|
||||
#define MODULE_ALIAS_RTNL_LINK(kind) MODULE_ALIAS("rtnl-link-" kind)
|
||||
|
||||
|
Reference in New Issue
Block a user