aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/net_namespace.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2009-06-23 21:34:48 -0400
committerDavid S. Miller <davem@davemloft.net>2009-07-15 11:53:32 -0400
commitb333b3d22822cf9b295990866798e9239c9dee72 (patch)
tree307298699e475eb93a3326384fff6f28b1e28b0f /include/net/net_namespace.h
parent97fd5bc7f2e442482a7a6cc4bc2a286cbb5f4754 (diff)
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 {
80#ifdef CONFIG_XFRM 80#ifdef CONFIG_XFRM
81 struct netns_xfrm xfrm; 81 struct netns_xfrm xfrm;
82#endif 82#endif
83#ifdef CONFIG_WIRELESS_EXT
84 struct sk_buff_head wext_nlevents;
85#endif
83 struct net_generic *gen; 86 struct net_generic *gen;
84}; 87};
85 88