dp_packet_delete_batch(struct dp_packet_batch *batch, bool may_steal)
{
    if (may_steal) {
        int i;

        for (i = 0; i < batch->count; i++) {
            dp_packet_delete(batch->packets[i]);
        }
    }
}
dp_packet_delete_batch(struct dp_packet_batch *batch, bool may_steal)
{
    if (may_steal) {
        int i;

        for (i = 0; i < batch->count; i++) {
            dp_packet_delete(batch->packets[i]);
        }
    }
}