[SCTP]: Pick up an orphaned sctp_sockets_allocated counter.
authorPavel Emelyanov <xemul@openvz.org>
Wed, 20 Feb 2008 08:23:01 +0000 (00:23 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Feb 2008 08:23:01 +0000 (00:23 -0800)
commit5f31886ff03ef68dc078c585fa3a2af9a011a8fa
tree8a81e95ab6c83dce5af6853009ef6e4b24e96f97
parentc15853f2c1c9baaa27bbc494cd183be96f6d9bb9
[SCTP]: Pick up an orphaned sctp_sockets_allocated counter.

This counter is currently write-only.

Drawing an analogy with the similar tcp counter, I think
that this one should be pointed by the sockets_allocated
members of sctp_prot and sctpv6_prot.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Acked-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/socket.c