genetlink: make netns aware
[sfrench/cifs-2.6.git] / include / net / net_namespace.h
index b34a6ee73754c857fac757d0fd65aefa4675b699..3173d12d946b2323b0c577e9db4df32f4b4cca9d 100644 (file)
@@ -26,6 +26,7 @@ struct net_device;
 struct sock;
 struct ctl_table_header;
 struct net_generic;
+struct sock;
 
 struct net {
        atomic_t                count;          /* To decided when the network
@@ -57,6 +58,7 @@ struct net {
        spinlock_t              rules_mod_lock;
 
        struct sock             *rtnl;                  /* rtnetlink socket */
+       struct sock             *genl_sock;
 
        struct netns_core       core;
        struct netns_mib        mib;