Post pimd restart IPC hung fix
After restart/SIGHUP, nhandlers is set to 0. That breakes IPC communication
with pimctl.  Reset should clear and reinitialize IPC.
@@ -751,6 +751,8 @@ static void restart(int signo)
timer_free_all();
stop_all_vifs();
k_stop_pim(igmp_socket);
+ ipc_exit();
+
nhandlers = 0;
close(igmp_socket);
close(pim_socket);
@@ -782,6 +784,7 @@ static void restart(int signo)
init_pim_mrt();
init_vifs();
add_static_rp(); /* Must be after init_vifs() */
+ ipc_init();
/* Touch PID file to acknowledge SIGHUP */
pidfile(pid_file);
