diff options
Diffstat (limited to 'include/net/net_namespace.h')
| -rw-r--r-- | include/net/net_namespace.h | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/net_namespace.h b/include/net/net_namespace.h index fc4f757107df..af8fe8a909dc 100644 --- a/include/net/net_namespace.h +++ b/include/net/net_namespace.h @@ -170,7 +170,7 @@ static inline struct net *copy_net_ns(unsigned long flags,  extern struct list_head net_namespace_list;  struct net *get_net_ns_by_pid(pid_t pid); -struct net *get_net_ns_by_fd(int pid); +struct net *get_net_ns_by_fd(int fd);  #ifdef CONFIG_SYSCTL  void ipx_register_sysctl(void); @@ -291,7 +291,7 @@ struct pernet_operations {  	int (*init)(struct net *net);  	void (*exit)(struct net *net);  	void (*exit_batch)(struct list_head *net_exit_list); -	int *id; +	unsigned int *id;  	size_t size;  };  |