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.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c
index 4fe0f4b3a345..cec111109155 100644
--- a/net/core/rtnetlink.c
+++ b/net/core/rtnetlink.c
@@ -97,7 +97,7 @@ int rtattr_parse(struct rtattr *tb[], int maxattr, struct rtattr *rta, int len)
97 return 0; 97 return 0;
98} 98}
99 99
100struct rtnl_link *rtnl_msg_handlers[NPROTO]; 100static struct rtnl_link *rtnl_msg_handlers[NPROTO];
101 101
102static inline int rtm_msgindex(int msgtype) 102static inline int rtm_msgindex(int msgtype)
103{ 103{
@@ -765,7 +765,7 @@ errout:
765 return err; 765 return err;
766} 766}
767 767
768int rtnl_dump_all(struct sk_buff *skb, struct netlink_callback *cb) 768static int rtnl_dump_all(struct sk_buff *skb, struct netlink_callback *cb)
769{ 769{
770 int idx; 770 int idx;
771 int s_idx = cb->family; 771 int s_idx = cb->family;
@@ -789,8 +789,6 @@ int rtnl_dump_all(struct sk_buff *skb, struct netlink_callback *cb)
789 return skb->len; 789 return skb->len;
790} 790}
791 791
792EXPORT_SYMBOL_GPL(rtnl_dump_all);
793
794void rtmsg_ifinfo(int type, struct net_device *dev, unsigned change) 792void rtmsg_ifinfo(int type, struct net_device *dev, unsigned change)
795{ 793{
796 struct sk_buff *skb; 794 struct sk_buff *skb;