rpkt_quanta_old = atomic_load_explicit(&peer->bgp->rpkt_quanta,
memory_order_relaxed);
- /*
- * XXX: At present multiple packet reads per input cycle are
- * problematic. The issue is that some of the packet processing
- * functions perform their own FSM checks, that arguably should be
- * located in bgp_fsm.c. For example if we are in OpenConfirm process a
- * Keepalive, then a keepalive-received event is placed on the event
- * queue to handle later. If we then process an Update before that
- * event has popped, the update function checks that the peer status is
- * in Established and if not tears down the session. Therefore we'll
- * limit input processing to 1 packet per cycle, as it traditionally
- * was, until this problem is rectified.
- *
- * @qlyoung June 2017
- */
- rpkt_quanta_old = 1;
-
/* Guard against scheduled events that occur after peer deletion. */
if (peer->status == Deleted || peer->status == Clearing)
return 0;