Subject: Re: [PATCH] phylib: convert state_queue work to delayed_work

From: David Miller <[email-masked]>
Date: Fri, 13 Mar 2009 15:41:29 -0700 (PDT)

From: Jean Delvare <[email-masked]>
Date: Sat, 7 Mar 2009 10:46:20 +0100

> On Fri, 6 Mar 2009 21:51:42 +0100, Marcin Slusarz wrote:
> > It closes a race in phy_stop_machine when reprogramming of phy_timer
> > (from phy_state_machine) happens between del_timer_sync and cancel_work_sync.
> > 
> > Without this change it could lead to crash if phy_device would be freed after
> > phy_stop_machine (timer would fire and schedule freed work).
> > 
> > Signed-off-by: Marcin Slusarz <[email-masked]>
> > Cc: Andy Fleming <[email-masked]>
> > Cc: Trent Piepho <[email-masked]>
> > ---
> > 
> > This patch was only compile tested.
> 
> Patch looks good.
> 
> Acked-by: Jean Delvare <[email-masked]>

Applied, thanks.