Commit 975b416a authored by Tom Barbette's avatar Tom Barbette

Use the safe variant of FOR_EACH_PACKET in SimpleQueue

next() and prev() coud be set by a sublcass of SimpleQueue
parent e41215c8
......@@ -136,7 +136,7 @@ SimpleQueue::cleanup(CleanupStage)
#if HAVE_BATCH
void SimpleQueue::push_batch(int port, PacketBatch* batch) {
FOR_EACH_PACKET(batch,p) {
FOR_EACH_PACKET_SAFE(batch,p) {
push(port, p);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment