commit | fe8998c5e3b173f3d5c450bbde6173e7fbe5158d | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Sun Dec 12 16:45:14 2010 +0100 |
committer | Tejun Heo <tj@kernel.org> | Sun Dec 12 16:45:14 2010 +0100 |
tree | e098fe0774ba3f9e4b05a52dca078de7fb82fcca | |
parent | 760141a53e5d72d4cc1d8c6e2a0232a24bedb36b [diff] |
sungem: update gp->reset_task flushing gp->reset_task_pending is always set right before reset_task is scheduled and as there is no synchronization between the setting and scheduling, busy looping on reset_task_pending before flushing reset_task doesn't really buy anything. Directly flush gp->reset_task on suspend and cancel on detach. Signed-off-by: Tejun Heo <tj@kernel.org> Cc: "David S. Miller" <davem@davemloft.net> Cc: netdev@vger.kernel.org