projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc
[powerpc.git]
/
net
/
sctp
/
sm_statetable.c
diff --git
a/net/sctp/sm_statetable.c
b/net/sctp/sm_statetable.c
index
523071c
..
70a91ec
100644
(file)
--- a/
net/sctp/sm_statetable.c
+++ b/
net/sctp/sm_statetable.c
@@
-960,7
+960,7
@@
static const sctp_sm_table_entry_t *sctp_chunk_event_lookup(sctp_cid_t cid,
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) {