diff options
Diffstat (limited to 'net/netlink')
-rw-r--r-- | net/netlink/af_netlink.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c index 64d4b27f25ab..42d2fb94eff1 100644 --- a/net/netlink/af_netlink.c +++ b/net/netlink/af_netlink.c | |||
@@ -121,6 +121,7 @@ static DECLARE_WAIT_QUEUE_HEAD(nl_table_wait); | |||
121 | 121 | ||
122 | static int netlink_dump(struct sock *sk); | 122 | static int netlink_dump(struct sock *sk); |
123 | static void netlink_destroy_callback(struct netlink_callback *cb); | 123 | static void netlink_destroy_callback(struct netlink_callback *cb); |
124 | static void netlink_queue_skip(struct nlmsghdr *nlh, struct sk_buff *skb); | ||
124 | 125 | ||
125 | static DEFINE_RWLOCK(nl_table_lock); | 126 | static DEFINE_RWLOCK(nl_table_lock); |
126 | static atomic_t nl_table_users = ATOMIC_INIT(0); | 127 | static atomic_t nl_table_users = ATOMIC_INIT(0); |
@@ -1568,7 +1569,7 @@ void netlink_run_queue(struct sock *sk, unsigned int *qlen, | |||
1568 | * Pulls the given netlink message off the socket buffer so the next | 1569 | * Pulls the given netlink message off the socket buffer so the next |
1569 | * call to netlink_queue_run() will not reconsider the message. | 1570 | * call to netlink_queue_run() will not reconsider the message. |
1570 | */ | 1571 | */ |
1571 | void netlink_queue_skip(struct nlmsghdr *nlh, struct sk_buff *skb) | 1572 | static void netlink_queue_skip(struct nlmsghdr *nlh, struct sk_buff *skb) |
1572 | { | 1573 | { |
1573 | int msglen = NLMSG_ALIGN(nlh->nlmsg_len); | 1574 | int msglen = NLMSG_ALIGN(nlh->nlmsg_len); |
1574 | 1575 | ||
@@ -1851,7 +1852,6 @@ core_initcall(netlink_proto_init); | |||
1851 | 1852 | ||
1852 | EXPORT_SYMBOL(netlink_ack); | 1853 | EXPORT_SYMBOL(netlink_ack); |
1853 | EXPORT_SYMBOL(netlink_run_queue); | 1854 | EXPORT_SYMBOL(netlink_run_queue); |
1854 | EXPORT_SYMBOL(netlink_queue_skip); | ||
1855 | EXPORT_SYMBOL(netlink_broadcast); | 1855 | EXPORT_SYMBOL(netlink_broadcast); |
1856 | EXPORT_SYMBOL(netlink_dump_start); | 1856 | EXPORT_SYMBOL(netlink_dump_start); |
1857 | EXPORT_SYMBOL(netlink_kernel_create); | 1857 | EXPORT_SYMBOL(netlink_kernel_create); |