]> git.baikalelectronics.ru Git - kernel.git/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)
commit088c57aae346ed175926cafc6e1aa6e002138a2f
treea9b17830724d4470af1a37abec88902bd1a09aca
parent17df4d20677ae78d027aa06c0f0853b2a1c81c91
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