diff options
| author | Sridhar Samudrala <sri@us.ibm.com> | 2004-12-26 22:13:06 -0800 |
|---|---|---|
| committer | Sridhar Samudrala <sri@us.ibm.com> | 2004-12-26 22:13:06 -0800 |
| commit | 5aabd1fe268e850c2e93048a5ccc5eb6970ac49c (patch) | |
| tree | ecb5821b020c382727a298fc4c9880f53ac189f2 /net/sctp/debug.c | |
| parent | 3da25caccc4e293aada9c1f7130a98be64907c77 (diff) | |
[SCTP] Treat ICMP protocol unreachable errors from non-SCTP capable hosts as
ABORTs.
Signed-off-by: Jerome Forissier <jerome.forissier@hp.com>
Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
Diffstat (limited to 'net/sctp/debug.c')
| -rw-r--r-- | net/sctp/debug.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/sctp/debug.c b/net/sctp/debug.c index 449c424eff3a..aa8340373af7 100644 --- a/net/sctp/debug.c +++ b/net/sctp/debug.c @@ -154,6 +154,7 @@ const char *sctp_pname(const sctp_subtype_t id) static const char *sctp_other_tbl[] = { "NO_PENDING_TSN", + "ICMP_PROTO_UNREACH", }; /* Lookup "other" debug name. */ @@ -161,7 +162,7 @@ const char *sctp_oname(const sctp_subtype_t id) { if (id.other < 0) return "illegal 'other' event"; - if (id.other < SCTP_EVENT_OTHER_MAX) + if (id.other <= SCTP_EVENT_OTHER_MAX) return sctp_other_tbl[id.other]; return "unknown 'other' event"; } |
