projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: Introduce possible_net_t
[firefly-linux-kernel-4.4.55.git]
/
net
/
openvswitch
/
datapath.h
diff --git
a/net/openvswitch/datapath.h
b/net/openvswitch/datapath.h
index 3ece94563079fb154d437d75e90db23b055d6a0a..4ec4a480b147030c3e2938c4ba612d4e7d5e10be 100644
(file)
--- a/
net/openvswitch/datapath.h
+++ b/
net/openvswitch/datapath.h
@@
-84,10
+84,8
@@
struct datapath {
/* Stats. */
struct dp_stats_percpu __percpu *stats_percpu;
-#ifdef CONFIG_NET_NS
/* Network namespace ref. */
- struct net *net;
-#endif
+ possible_net_t net;
u32 user_features;
};