aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/rtnetlink.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/core/rtnetlink.c')
-rw-r--r--net/core/rtnetlink.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c
index f5300b5dd0fd..dfc58269240a 100644
--- a/net/core/rtnetlink.c
+++ b/net/core/rtnetlink.c
@@ -58,6 +58,7 @@
58#endif /* CONFIG_NET_WIRELESS_RTNETLINK */ 58#endif /* CONFIG_NET_WIRELESS_RTNETLINK */
59 59
60static DEFINE_MUTEX(rtnl_mutex); 60static DEFINE_MUTEX(rtnl_mutex);
61static struct sock *rtnl;
61 62
62void rtnl_lock(void) 63void rtnl_lock(void)
63{ 64{
@@ -95,8 +96,6 @@ int rtattr_parse(struct rtattr *tb[], int maxattr, struct rtattr *rta, int len)
95 return 0; 96 return 0;
96} 97}
97 98
98struct sock *rtnl;
99
100struct rtnetlink_link * rtnetlink_links[NPROTO]; 99struct rtnetlink_link * rtnetlink_links[NPROTO];
101 100
102static const int rtm_min[RTM_NR_FAMILIES] = 101static const int rtm_min[RTM_NR_FAMILIES] =
@@ -842,7 +841,6 @@ EXPORT_SYMBOL(rtattr_strlcpy);
842EXPORT_SYMBOL(rtattr_parse); 841EXPORT_SYMBOL(rtattr_parse);
843EXPORT_SYMBOL(rtnetlink_links); 842EXPORT_SYMBOL(rtnetlink_links);
844EXPORT_SYMBOL(rtnetlink_put_metrics); 843EXPORT_SYMBOL(rtnetlink_put_metrics);
845EXPORT_SYMBOL(rtnl);
846EXPORT_SYMBOL(rtnl_lock); 844EXPORT_SYMBOL(rtnl_lock);
847EXPORT_SYMBOL(rtnl_trylock); 845EXPORT_SYMBOL(rtnl_trylock);
848EXPORT_SYMBOL(rtnl_unlock); 846EXPORT_SYMBOL(rtnl_unlock);