diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-10-01 20:30:53 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-10-01 20:30:53 +0800 |
commit | 98f6dd5cdce641599c52e8952fd17a14ffc12c56 (patch) | |
tree | 7f653bed3520828ea9a6ff40173ab4115dd67715 | |
parent | 47765719898539bd9c1be02825283ae1fc1a6108 (diff) |
msc: Stop the msc reconnect timer as well (possible bfd corruption fix)
It appears that we run into a PING timeout before we have received
the first message and then will try to close the connection tiwce.
Stop the msc_timeout when we close down the connection.
-rw-r--r-- | src/msc_conn.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/msc_conn.c b/src/msc_conn.c index aabd151..66a1a0b 100644 --- a/src/msc_conn.c +++ b/src/msc_conn.c @@ -84,6 +84,7 @@ void msc_close_connection(struct bsc_data *bsc) release_bsc_resources(bsc); bsc_del_timer(&bsc->ping_timeout); bsc_del_timer(&bsc->pong_timeout); + bsc_del_timer(&bsc->msc_timeout); msc_schedule_reconnect(bsc); } |