diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-06-27 21:29:03 +0200 |
---|---|---|
committer | Daniel Willmann <daniel@totalueberwachung.de> | 2011-11-04 12:27:10 +0100 |
commit | 77284cf3c317b33a2d22d605c2cd48fc2def5b3e (patch) | |
tree | 489192eade335816d79be73d091cf253761c57a0 /openbsc/src | |
parent | 3060e47e34c338ac148fe659eac47f3f62854e2e (diff) |
bsc: Fix crash when the new route is not available
When we are asked to route calls on a local link and
the link is not available we would crash when trying
to send a packet over a deadline. When we have decided
to move a connection it is guranteed that the current
SCCP connection will vanish, we either migrate to another
MSC or the RSL/subscriber connection will be closed.
Diffstat (limited to 'openbsc/src')
-rw-r--r-- | openbsc/src/osmo-bsc/osmo_bsc_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/osmo-bsc/osmo_bsc_api.c b/openbsc/src/osmo-bsc/osmo_bsc_api.c index 132dcebc9..015972678 100644 --- a/openbsc/src/osmo-bsc/osmo_bsc_api.c +++ b/openbsc/src/osmo-bsc/osmo_bsc_api.c @@ -243,7 +243,7 @@ static void bsc_dtap(struct gsm_subscriber_connection *conn, uint8_t link_id, st * We might want to move this connection to a new MSC. Ask someone * to handle it. If it was handled we will return. */ - if (handle_cc_setup(conn, msg) > 1) + if (handle_cc_setup(conn, msg) >= 1) return; bsc_scan_bts_msg(conn, msg); |