aa4184eba9
Copy from network:ha-clustering:Factory/corosync based on submit request 42251 from user tserong OBS-URL: https://build.opensuse.org/request/show/42251 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/corosync?expand=0&rev=1
18 lines
575 B
Diff
18 lines
575 B
Diff
Index: trunk/exec/main.c
|
|
===================================================================
|
|
--- trunk/exec/main.c (revision 2799)
|
|
+++ trunk/exec/main.c (revision 2800)
|
|
@@ -832,6 +832,12 @@
|
|
serialize_unlock();
|
|
return;
|
|
}
|
|
+ if (fn_id >= ais_service[service]->exec_engine_count) {
|
|
+ log_printf(LOGSYS_LEVEL_WARNING, "discarded unknown message %d for service %d (max id %d)",
|
|
+ fn_id, service, ais_service[service]->exec_engine_count);
|
|
+ serialize_unlock();
|
|
+ return;
|
|
+ }
|
|
|
|
objdb->object_key_increment (service_stats_handle[service][fn_id],
|
|
"rx", strlen("rx"),
|