[Spice-devel] [PATCH] Use RING_FOREACH_SAFE in red_channel.c functions which are missing it

Hans de Goede hdegoede at redhat.com
Fri Jul 5 06:00:26 PDT 2013


Hi,

On 07/05/2013 09:11 AM, David Gibson wrote:
> Currently, both red_channel_pipes_add_type() and
> red_channel_pipes_add_empty_msg() use plaing RING_FOREACH() which is not
> safe versus removals from the ring within the loop body.

Thanks for the patch, applied and pushed.

Regards,

Hans


More information about the Spice-devel mailing list