aboutsummaryrefslogtreecommitdiffstats
path: root/net/netlink/af_netlink.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/netlink/af_netlink.h')
-rw-r--r--net/netlink/af_netlink.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netlink/af_netlink.h b/net/netlink/af_netlink.h
index f1c31b39aa3e..89008405d6b4 100644
--- a/net/netlink/af_netlink.h
+++ b/net/netlink/af_netlink.h
@@ -51,6 +51,7 @@ struct netlink_sock {
51#endif /* CONFIG_NETLINK_MMAP */ 51#endif /* CONFIG_NETLINK_MMAP */
52 52
53 struct rhash_head node; 53 struct rhash_head node;
54 struct rcu_head rcu;
54}; 55};
55 56
56static inline struct netlink_sock *nlk_sk(struct sock *sk) 57static inline struct netlink_sock *nlk_sk(struct sock *sk)
@@ -74,6 +75,5 @@ struct netlink_table {
74 75
75extern struct netlink_table *nl_table; 76extern struct netlink_table *nl_table;
76extern rwlock_t nl_table_lock; 77extern rwlock_t nl_table_lock;
77extern struct mutex nl_sk_hash_lock;
78 78
79#endif 79#endif