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)
commit632c928a6a77fe96cda34a9978e1f6019ffc38f4
tree40c5c2d702b04ae16a73f628deaac2e54c2ce79d
parent2ce955035081112cf1590c961da8d94324142b5e
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