diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-06-28 10:11:00 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-06-28 10:11:00 +0200 |
commit | fa48639adfd16c84a716bae710b619f5ac2d501d (patch) | |
tree | 6f8ff065f5fbba2b26150be4e879439d4a5a4ad8 | |
parent | 4b750fb119310570ba806bcd475b5b1798906a05 (diff) |
sctp_m2ua: Fix the check of how many ASP for the same ident we have active
Currently this is only true for the same connection.
sctp_m2ua.c:195 Two active SCTP conns with 1.2.3.4 on 0x9c21cf0, 0x9c21cf0
-rw-r--r-- | src/sctp_m2ua.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sctp_m2ua.c b/src/sctp_m2ua.c index 43deb52..fb797b7 100644 --- a/src/sctp_m2ua.c +++ b/src/sctp_m2ua.c @@ -184,7 +184,7 @@ static int m2ua_handle_asp_ack(struct sctp_m2ua_conn *conn, /* some verification about the ASPs */ llist_for_each_entry(tmp, &trans->conns, entry) { - if (tmp != conn) + if (tmp == conn) continue; if (memcmp(tmp->asp_ident, conn->asp_ident, 4) != 0) continue; |