Commit e5b736bb authored by Randy Dunlap's avatar Randy Dunlap Committed by David S. Miller

[ATM]: schedule_timeout() sets curr_state, from Alexey Dobriyan <adobriyan@mail.ru>.

parent 8f983d6f
......@@ -2633,7 +2633,6 @@ he_close(struct atm_vcc *vcc)
(retry < MAX_RETRY)) {
set_current_state(TASK_UNINTERRUPTIBLE);
(void) schedule_timeout(sleep);
set_current_state(TASK_RUNNING);
if (sleep < HZ)
sleep = sleep * 2;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment