diff options
author | Jiri Pirko <jiri@resnulli.us> | 2014-02-18 20:53:18 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-02-18 18:15:42 -0500 |
commit | f7b12606b5de323a2bb5ca1696558efde8f25441 (patch) | |
tree | 1989b7416a95d38161438e73ddff945519984191 /include/net/rtnetlink.h | |
parent | e83abe37ba492514943f45f7bb1ba6b055eb88b0 (diff) | |
download | linux-stable-f7b12606b5de323a2bb5ca1696558efde8f25441.tar.gz linux-stable-f7b12606b5de323a2bb5ca1696558efde8f25441.tar.bz2 linux-stable-f7b12606b5de323a2bb5ca1696558efde8f25441.zip |
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>
Diffstat (limited to 'include/net/rtnetlink.h')
-rw-r--r-- | include/net/rtnetlink.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/rtnetlink.h b/include/net/rtnetlink.h index 661e45d38051..72240e5ac2c4 100644 --- a/include/net/rtnetlink.h +++ b/include/net/rtnetlink.h @@ -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) |