]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: Move the percpu sockets counter out of sctp_proc_init
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 6 Aug 2012 08:44:24 +0000 (08:44 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Aug 2012 06:17:26 +0000 (23:17 -0700)
commit17df4d20677ae78d027aa06c0f0853b2a1c81c91
tree40c5c2d702b04ae16a73f628deaac2e54c2ce79d
parent6b2aebff45dce69f953fe113d068545dcfd3b5fc
sctp: Move the percpu sockets counter out of sctp_proc_init

The percpu sctp socket counter has nothing at all to do with the sctp
proc files, and having it in the wrong initialization is confusing,
and makes network namespace support a pain.

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>
net/sctp/protocol.c