[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v5 03/10] xen/blkfront: pseudo support for multi hardware queues/rings



> -       for (i = 0; i < info->nr_rings; i++)
> +       for (i = 0; i < info->nr_rings; i++) {
>                 blkif_free_ring(&info->rinfo[i]);
> -       kfree(info->rinfo);
> +               kfree(info->rinfo);
> +               info->ring = NULL;
> +       }

Duh! Not it shouldn't. That is because we do info->ring = kzalloc(.. * 
info->nr_rings)).

<sigh> That throws me off every time.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.