|
@@ -2150,7 +2150,7 @@ int totemrrp_initialize (
|
|
|
deliver_fn_context->iface_no = i;
|
|
deliver_fn_context->iface_no = i;
|
|
|
instance->deliver_fn_context[i] = (void *)deliver_fn_context;
|
|
instance->deliver_fn_context[i] = (void *)deliver_fn_context;
|
|
|
|
|
|
|
|
- totemnet_initialize (
|
|
|
|
|
|
|
+ res = totemnet_initialize (
|
|
|
poll_handle,
|
|
poll_handle,
|
|
|
&instance->net_handles[i],
|
|
&instance->net_handles[i],
|
|
|
totem_config,
|
|
totem_config,
|
|
@@ -2161,6 +2161,10 @@ int totemrrp_initialize (
|
|
|
rrp_iface_change_fn,
|
|
rrp_iface_change_fn,
|
|
|
rrp_target_set_completed);
|
|
rrp_target_set_completed);
|
|
|
|
|
|
|
|
|
|
+ if (res == -1) {
|
|
|
|
|
+ goto error_destroy;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
totemnet_net_mtu_adjust (instance->net_handles[i], totem_config);
|
|
totemnet_net_mtu_adjust (instance->net_handles[i], totem_config);
|
|
|
}
|
|
}
|
|
|
|
|
|