[PATCH 2/2] drm/mst: update the link_address_sent before sending the link address (v2)

2015-10-01 Thread Dave Airlie
On 30 September 2015 at 17:44, Daniel Vetter wrote: > On Sun, Sep 06, 2015 at 06:53:00PM +1000, Dave Airlie wrote: >> There is a race where the reply could get processed by another >> work queue before we've updated the state. >> >> Update the state before sending the msg to close it. >> >> v2:

[PATCH 2/2] drm/mst: update the link_address_sent before sending the link address (v2)

2015-09-30 Thread Daniel Vetter
On Sun, Sep 06, 2015 at 06:53:00PM +1000, Dave Airlie wrote: > There is a race where the reply could get processed by another > work queue before we've updated the state. > > Update the state before sending the msg to close it. > > v2: reset value if return indicates we haven't send the msg. >

[PATCH 2/2] drm/mst: update the link_address_sent before sending the link address (v2)

2015-09-06 Thread Dave Airlie
There is a race where the reply could get processed by another work queue before we've updated the state. Update the state before sending the msg to close it. v2: reset value if return indicates we haven't send the msg. Pointed out by Adam J Richter on Bugzilla: