summaryrefslogtreecommitdiffstats
path: root/include/net/net_namespace.h
diff options
context:
space:
mode:
authorJohannes Berg2009-06-24 03:34:48 +0200
committerDavid S. Miller2009-07-15 17:53:32 +0200
commitb333b3d22822cf9b295990866798e9239c9dee72 (patch)
tree307298699e475eb93a3326384fff6f28b1e28b0f /include/net/net_namespace.h
parentnet: Rename lookup_neigh_params function (diff)
downloadkernel-qcow2-linux-b333b3d22822cf9b295990866798e9239c9dee72.tar.gz
kernel-qcow2-linux-b333b3d22822cf9b295990866798e9239c9dee72.tar.xz
kernel-qcow2-linux-b333b3d22822cf9b295990866798e9239c9dee72.zip
wireless extensions: make netns aware
This makes wireless extensions netns aware. The tasklet sending the events is converted to a work struct so that we can rtnl_lock() in it. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/net_namespace.h')
-rw-r--r--include/net/net_namespace.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/net_namespace.h b/include/net/net_namespace.h
index 3882db1e263a..5c5136fceea8 100644
--- a/include/net/net_namespace.h
+++ b/include/net/net_namespace.h
@@ -80,6 +80,9 @@ struct net {
#ifdef CONFIG_XFRM
struct netns_xfrm xfrm;
#endif
+#ifdef CONFIG_WIRELESS_EXT
+ struct sk_buff_head wext_nlevents;
+#endif
struct net_generic *gen;
};