[ovs-dev] [tests+nxm-ofctl 32/42] pinsched: Use hmap instead of port_array.
Ben Pfaff
blp at nicira.com
Mon Dec 6 18:05:59 UTC 2010
On Sat, Dec 04, 2010 at 05:04:49PM -0800, Justin Pettit wrote:
> On Nov 23, 2010, at 2:44 PM, Ben Pfaff wrote:
>
> > +static void
> > +pinqueue_destroy(struct pinsched *ps, struct pinqueue *q)
> > +{
> > + hmap_remove(&ps->queues, &q->node);
> > + free(q);
> > +}
>
> Do you think it's worth mentioning in the comment that the caller is
> responsible for making sure that the list of packets is empty?
That's a good idea. Thanks, I made that change.
More information about the dev
mailing list