summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2009-06-24 01:34:48 +0000
committerDavid S. Miller <davem@davemloft.net>2009-07-15 08:53:32 -0700
commitb333b3d22822cf9b295990866798e9239c9dee72 (patch)
tree307298699e475eb93a3326384fff6f28b1e28b0f /include/net
parent97fd5bc7f2e442482a7a6cc4bc2a286cbb5f4754 (diff)
downloadlinux-stable-b333b3d22822cf9b295990866798e9239c9dee72.tar.gz
linux-stable-b333b3d22822cf9b295990866798e9239c9dee72.tar.bz2
linux-stable-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')
-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;
};