summaryrefslogtreecommitdiffstats
path: root/kernel/net/netlink/af_netlink.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/net/netlink/af_netlink.h')
-rw-r--r--kernel/net/netlink/af_netlink.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/net/netlink/af_netlink.h b/kernel/net/netlink/af_netlink.h
index 14437d9b1..df32cb92d 100644
--- a/kernel/net/netlink/af_netlink.h
+++ b/kernel/net/netlink/af_netlink.h
@@ -3,6 +3,7 @@
#include <linux/rhashtable.h>
#include <linux/atomic.h>
+#include <linux/workqueue.h>
#include <net/sock.h>
#define NLGRPSZ(x) (ALIGN(x, sizeof(unsigned long) * 8) / 8)
@@ -53,6 +54,7 @@ struct netlink_sock {
struct rhash_head node;
struct rcu_head rcu;
+ struct work_struct work;
};
static inline struct netlink_sock *nlk_sk(struct sock *sk)