diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2008-04-16 03:51:51 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-04-16 03:51:51 -0400 |
commit | a59a8c1c865e6d231e1b5675f767ace006f08c21 (patch) | |
tree | 86b8999246864dbc59f6989b79af0daf2e1de3dd /net/8021q/vlan.h | |
parent | cd1c701432fbf84ad5ea1d8012ddd398a560bccc (diff) |
[VLAN]: Create proc entries in the proper net.
The proc_vlan_dir and proc_vlan_conf migrate on the struct
vlan_net and their creation uses the struct net.
The devices' entries use the corresponding device's net.
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Acked-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/8021q/vlan.h')
-rw-r--r-- | net/8021q/vlan.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/8021q/vlan.h b/net/8021q/vlan.h index f27d8d6f3625..7258357db847 100644 --- a/net/8021q/vlan.h +++ b/net/8021q/vlan.h | |||
@@ -52,7 +52,13 @@ static inline int is_vlan_dev(struct net_device *dev) | |||
52 | 52 | ||
53 | extern int vlan_net_id; | 53 | extern int vlan_net_id; |
54 | 54 | ||
55 | struct proc_dir_entry; | ||
56 | |||
55 | struct vlan_net { | 57 | struct vlan_net { |
58 | /* /proc/net/vlan */ | ||
59 | struct proc_dir_entry *proc_vlan_dir; | ||
60 | /* /proc/net/vlan/config */ | ||
61 | struct proc_dir_entry *proc_vlan_conf; | ||
56 | }; | 62 | }; |
57 | 63 | ||
58 | #endif /* !(__BEN_VLAN_802_1Q_INC__) */ | 64 | #endif /* !(__BEN_VLAN_802_1Q_INC__) */ |