sctp: Make the mib per network namespace

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Acked-by: Vlad Yasevich <vyasevich@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Eric W. Biederman
2012-08-06 08:47:55 +00:00
committed by David S. Miller
parent bb2db45b54
commit b01a24078f
13 changed files with 158 additions and 119 deletions

View File

@@ -3,8 +3,11 @@
struct sock;
struct proc_dir_entry;
struct sctp_mib;
struct netns_sctp {
DEFINE_SNMP_STAT(struct sctp_mib, sctp_statistics);
#ifdef CONFIG_PROC_FS
struct proc_dir_entry *proc_net_sctp;
#endif