--- zzzz-none-000/linux-2.6.19.2/net/sctp/sm_statetable.c 2007-01-10 19:10:37.000000000 +0000 +++ davinci-8020-5505/linux-2.6.19.2/net/sctp/sm_statetable.c 2007-01-19 14:42:56.000000000 +0000 @@ -986,7 +986,7 @@ if (state > SCTP_STATE_MAX) return &bug; - if (cid >= 0 && cid <= SCTP_CID_BASE_MAX) + if (cid <= SCTP_CID_BASE_MAX) return &chunk_event_table[cid][state]; if (sctp_prsctp_enable) {