]> Pileus Git - ~andy/linux/commit
sctp: Make the proc files per network namespace.
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 6 Aug 2012 08:45:15 +0000 (08:45 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Aug 2012 06:29:53 +0000 (23:29 -0700)
commit13d782f6b4fbbaf9d0380a9947deb45a9de46ae7
treea9b17830724d4470af1a37abec88902bd1a09aca
parent632c928a6a77fe96cda34a9978e1f6019ffc38f4
sctp: Make the proc files per network namespace.

- Convert all of the files under /proc/net/sctp to be per
  network namespace.

- Don't print anything for /proc/net/sctp/snmp except in
  the initial network namespaces as the snmp counters still
  have to be converted to be 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>
include/net/netns/sctp.h
include/net/sctp/sctp.h
net/sctp/objcnt.c
net/sctp/proc.c
net/sctp/protocol.c