Need a comment on these.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
" across 2/4 ASN boundary somewhere, broken..");
hops = seg->length;
}
+ /* fallthru */
case AS_SEQUENCE:
cpasns = MIN(seg->length, hops);
hops -= seg->length;
BGP_TIMER_OFF (peer->t_gr_restart);
BGP_TIMER_OFF (peer->t_gr_stale);
BGP_TIMER_OFF (peer->t_pmax_restart);
+ /* fallthru */
case Clearing:
BGP_TIMER_OFF (peer->t_start);
BGP_TIMER_OFF (peer->t_connect);
case 'l':
bgp_address = optarg;
/* listenon implies -n */
+ /* fallthru */
case 'n':
no_fib_flag = 1;
break;
trace_matcher ("trivial_match\n");
if (exact_match_exists && !last_token)
break;
+ /* fallthru */
case exact_match:
trace_matcher ("exact_match\n");
if (last_token)
{
case 11:
c += ((u_int32_t) k[10] << 24);
+ /* fallthru */
case 10:
c += ((u_int32_t) k[9] << 16);
+ /* fallthru */
case 9:
c += ((u_int32_t) k[8] << 8);
+ /* fallthru */
case 8:
b += ((u_int32_t) k[7] << 24);
+ /* fallthru */
case 7:
b += ((u_int32_t) k[6] << 16);
+ /* fallthru */
case 6:
b += ((u_int32_t) k[5] << 8);
+ /* fallthru */
case 5:
b += k[4];
+ /* fallthru */
case 4:
a += ((u_int32_t) k[3] << 24);
+ /* fallthru */
case 3:
a += ((u_int32_t) k[2] << 16);
+ /* fallthru */
case 2:
a += ((u_int32_t) k[1] << 8);
+ /* fallthru */
case 1:
a += k[0];
};
{
case 2:
b += k[1];
+ /* fallthru */
case 1:
a += k[0];
};
{
item->ran--;
work_queue_item_requeue (wq, node);
- /* If a single node is being used with a meta-queue (e.g., zebra),
- * update the next node as we don't want to exit the thread and
- * reschedule it after every node. By definition, WQ_REQUEUE is
- * meant to continue the processing; the yield logic will kick in
- * to terminate the thread when time has exceeded.
- */
- if (nnode == NULL)
- nnode = node;
+ /* If a single node is being used with a meta-queue (e.g., zebra),
+ * update the next node as we don't want to exit the thread and
+ * reschedule it after every node. By definition, WQ_REQUEUE is
+ * meant to continue the processing; the yield logic will kick in
+ * to terminate the thread when time has exceeded.
+ */
+ if (nnode == NULL)
+ nnode = node;
break;
}
case WQ_RETRY_NOW:
if (wq->spec.errorfunc)
wq->spec.errorfunc (wq, item);
}
- /* fall through here is deliberate */
+ /* fallthru */
case WQ_SUCCESS:
default:
{
default:
if (type & NHRP_EXTENSION_FLAG_COMPULSORY)
goto err;
+ /* fallthru */
case NHRP_EXTENSION_FORWARD_TRANSIT_NHS:
case NHRP_EXTENSION_REVERSE_TRANSIT_NHS:
/* Supported compulsory extensions, and any
nhrp_vc_notify_add(p->vc, &p->vc_notifier, nhrp_peer_vc_notify);
__nhrp_peer_check(p);
}
- /* Fall-through to post config update */
+ /* fallthru */ /* to post config update */
case NOTIFY_INTERFACE_ADDRESS_CHANGED:
notifier_call(&p->notifier_list, NOTIFY_PEER_IFCONFIG_CHANGED);
break;
/* FIXME: RFC says to just copy, but not
* append our selves to the transit NHS list */
goto err;
+ /* fallthru */
case NHRP_EXTENSION_RESPONDER_ADDRESS:
/* Supported compulsory extensions, and any
* non-compulsory that is not explicitly handled,
/* FIXME: send error-indication */
}
}
+ /* fallthru */ /* FIXME: double check, is this correct? */
case NHRP_ROUTE_OFF_NBMA:
if (packet_types[hdr->type].handler) {
packet_types[hdr->type].handler(&pp);
return;
}
/* else fall through to ExStart */
-
+ /* fallthru */
case OSPF6_NEIGHBOR_EXSTART:
/* if neighbor obeys us as our slave, schedule negotiation_done
and process LSA Headers. Otherwise, ignore this message */
return;
}
/* else fall through to ExStart */
-
+ /* fallthru */
case OSPF6_NEIGHBOR_EXSTART:
/* If the neighbor is Master, act as Slave. Schedule negotiation_done
and process LSA Headers. Otherwise, ignore this message */
if (ospf6)
return SNMP_INTEGER (ospf6->ref_bandwidth);
/* Otherwise, like for "not implemented". */
+ /* fallthru */
case OSPFv3RESTARTSUPPORT:
case OSPFv3RESTARTINTERVAL:
case OSPFv3RESTARTSTRICTLSACHECKING:
case LSA_LINK_TYPE_VIRTUALLINK:
if (IS_DEBUG_OSPF_EVENT)
zlog_debug ("found back link through VL");
+ /* fallthru */
case LSA_LINK_TYPE_TRANSIT:
case LSA_LINK_TYPE_POINTOPOINT:
if (!IPV4_ADDR_SAME (&vl_data->peer_addr,
case NSM_Down:
OSPF_NSM_TIMER_OFF (nbr->t_inactivity);
OSPF_NSM_TIMER_OFF (nbr->t_hello_reply);
+ /* fallthru */
case NSM_Attempt:
case NSM_Init:
case NSM_TwoWay:
case -1:
/* Neighbour has a more recent LSA, we must request it */
ospf_ls_request_add (nbr, new);
+ /* fallthru */
case 0:
/* If we have a copy of this LSA, it's either less recent
* and we're requesting it from neighbour (the case above), or
through to case ExStart below. */
if (nbr->state != NSM_ExStart)
break;
+ /* fallthru */
case NSM_ExStart:
/* Initial DBD */
if ((IS_SET_DD_ALL (dd->flags) == OSPF_DD_FLAG_ALL) &&