ipvs: move struct netns_ipvs
Remove include/net/netns/ip_vs.h because it depends on structures from include/net/ip_vs.h. As ipvs is pointer in struct net it is better to move struct netns_ipvs into include/net/ip_vs.h, so that we can easily use other structures in struct netns_ipvs. Signed-off-by: Julian Anastasov <ja@ssi.bg> Signed-off-by: Simon Horman <horms@verge.net.au>
This commit is contained in:

committed by
Simon Horman

parent
06b69390a6
commit
2553d064ff
@@ -20,7 +20,6 @@
|
||||
#include <net/netns/conntrack.h>
|
||||
#endif
|
||||
#include <net/netns/xfrm.h>
|
||||
#include <net/netns/ip_vs.h>
|
||||
|
||||
struct proc_dir_entry;
|
||||
struct net_device;
|
||||
@@ -28,6 +27,7 @@ struct sock;
|
||||
struct ctl_table_header;
|
||||
struct net_generic;
|
||||
struct sock;
|
||||
struct netns_ipvs;
|
||||
|
||||
|
||||
#define NETDEV_HASHBITS 8
|
||||
|
Reference in New Issue
Block a user