From: Vlad Yasevich Date: Tue, 23 Aug 2005 17:12:04 +0000 (-0700) Subject: [SCTP]: Add SENTINEL to SCTP MIB stats X-Git-Tag: v2.6.13-rc7~55^2~4 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=d2287f844187158e5eddd0d5de8e95bd607abcb7;p=~shefty%2Frdma-dev.git [SCTP]: Add SENTINEL to SCTP MIB stats Add SNMP_MIB_SENTINEL to the definition of the sctp_snmp_list so that the output routine in proc correctly terminates. This was causing some problems running on ia64 systems. Signed-off-by: Vlad Yasevich Signed-off-by: David S. Miller --- diff --git a/net/sctp/proc.c b/net/sctp/proc.c index 98d49ec9b74..b74f7772b57 100644 --- a/net/sctp/proc.c +++ b/net/sctp/proc.c @@ -57,6 +57,7 @@ static struct snmp_mib sctp_snmp_list[] = { SNMP_MIB_ITEM("SctpReasmUsrMsgs", SCTP_MIB_REASMUSRMSGS), SNMP_MIB_ITEM("SctpOutSCTPPacks", SCTP_MIB_OUTSCTPPACKS), SNMP_MIB_ITEM("SctpInSCTPPacks", SCTP_MIB_INSCTPPACKS), + SNMP_MIB_SENTINEL }; /* Return the current value of a particular entry in the mib by adding its