Re: [Mesa-dev] [PATCH] wayland: Don't race when releasing named buffers

2013-10-23 Thread Jonas Ådahl
Still needs review. On Wed, Oct 2, 2013 at 5:06 PM, Jonas Ådahl wrote: > This patch fixes a race when a client releases a named buffer before the > server had the time to handle 'wl_drm_create_buffer'. When triggered, > the server would fail to create the buffer since the client already > having

[Mesa-dev] [PATCH] wayland: Don't race when releasing named buffers

2013-10-02 Thread Jonas Ådahl
This patch fixes a race when a client releases a named buffer before the server had the time to handle 'wl_drm_create_buffer'. When triggered, the server would fail to create the buffer since the client already having destroyed it, throwing out the client in the process with a protocol error. To s