diff options
author | Wei Yongjun <yjwei@cn.fujitsu.com> | 2008-10-09 23:32:24 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-09 23:32:24 +0200 |
commit | 3d5a019d5761a40465337711ae7d2beb1e9b43ec (patch) | |
tree | 94f369e8a0be15a538c194844117b8b0b2a0694e /net/sched/act_police.c | |
parent | myri10ge: remove over-paranoid queue number modulus (diff) | |
download | linux-3d5a019d5761a40465337711ae7d2beb1e9b43ec.tar.xz linux-3d5a019d5761a40465337711ae7d2beb1e9b43ec.zip |
sctp: Fix the SNMP number of SCTP_MIB_CURRESTAB
RFC3873 defined SCTP_MIB_CURRESTAB:
sctpCurrEstab OBJECT-TYPE
SYNTAX Gauge32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of associations for which the current state is
either ESTABLISHED, SHUTDOWN-RECEIVED or SHUTDOWN-PENDING."
REFERENCE
"Section 4 in RFC2960 covers the SCTP Association state
diagram."
If the T4 RTO timer expires many times(timeout), the association will enter
CLOSED state, so we should dec the number of SCTP_MIB_CURRESTAB, not inc the
number of SCTP_MIB_CURRESTAB.
Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/act_police.c')
0 files changed, 0 insertions, 0 deletions