Need to clear the bitmap entry when processing each input file
descriptor.
This becomes an issue on interface deletion. A crash occurs due
to assertion in a debug image
https://gerrit.fd.io/r/#/c/615/ - removed the code when this was set
again, but the bitmap needs to be cleared
Change-Id: I7cccb9bf8b9b2eb5a7f60ecda7530784a9512116
Signed-off-by: Peter Lei <[email protected]>
clib_bitmap_foreach (i, apm->pending_input_bitmap,
({
+ clib_bitmap_set (apm->pending_input_bitmap, i, 0);
n_rx_packets += af_packet_device_input_fn(vm, node, frame, i);
}));