Squashed commit of the following:
commit
7ffb11965cb72af79bb9b3360a3baa07c1bb873e
Author: Silviu Minut <sminut@cisco.com>
Date: Tue Oct 15 13:37:57 2019 -0400
packet_io: do not retry packets that do not have a daq instance.
return false;
// FIXIT-L semi-arbitrary heuristic for preventing retry queue saturation - reevaluate later
- if (p->daq_instance->get_pool_available() < p->daq_instance->get_batch_size())
+ if (!p->daq_instance || p->daq_instance->get_pool_available() < p->daq_instance->get_batch_size())
{
// Fall back on dropping the packet and relying on the host to retransmit
active_action = ACT_DROP;