|
@@ -5,6 +5,7 @@
|
|
#define __NET_NET_NAMESPACE_H
|
|
#define __NET_NET_NAMESPACE_H
|
|
|
|
|
|
#include <linux/atomic.h>
|
|
#include <linux/atomic.h>
|
|
|
|
+#include <linux/refcount.h>
|
|
#include <linux/workqueue.h>
|
|
#include <linux/workqueue.h>
|
|
#include <linux/list.h>
|
|
#include <linux/list.h>
|
|
#include <linux/sysctl.h>
|
|
#include <linux/sysctl.h>
|
|
@@ -46,7 +47,7 @@ struct netns_ipvs;
|
|
#define NETDEV_HASHENTRIES (1 << NETDEV_HASHBITS)
|
|
#define NETDEV_HASHENTRIES (1 << NETDEV_HASHBITS)
|
|
|
|
|
|
struct net {
|
|
struct net {
|
|
- atomic_t passive; /* To decided when the network
|
|
|
|
|
|
+ refcount_t passive; /* To decided when the network
|
|
* namespace should be freed.
|
|
* namespace should be freed.
|
|
*/
|
|
*/
|
|
atomic_t count; /* To decided when the network
|
|
atomic_t count; /* To decided when the network
|