mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-10-23 08:12:01 +00:00
bsc_msc_ip.c: Do not attempt to disconnect when not connected
This is fixing a segfault due calling bsc_unregsiter_fd twice without being in the list.
This commit is contained in:
@@ -958,6 +958,8 @@ static void signal_handler(int signal)
|
||||
talloc_report_full(tall_bsc_ctx, stderr);
|
||||
break;
|
||||
case SIGUSR2:
|
||||
if (!msc_con->is_connected)
|
||||
return;
|
||||
bsc_msc_lost(msc_con);
|
||||
break;
|
||||
default:
|
||||
|
Reference in New Issue
Block a user