> On 21 Jul 2015, at 16:23, [email protected] wrote:


Hi!


> +static struct batch_list_node *
> +osmux_batch_add_circuit(struct osmux_batch *batch, int ccid)
> +{
> +     struct batch_list_node *circuit;
> +
> +     circuit = osmux_batch_find_circuit(batch, ccid);
> +     if (circuit != NULL) {
> +             LOGP(DLMIB, LOGL_ERROR, "circuit %u already exists!\n", ccid);
> +             return NULL;
> +     }

Okay very defensive but no performance issue right now. Patches 1-3 look good!

holger


Reply via email to