summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2014-12-04 12:07:16 +0000
committerSteven Barth <steven@midlink.org>2014-12-08 18:13:45 +0100
commit069b6b830492109f3e880063f7f52ce2329cb9b6 (patch)
tree6ebdab340dfc0f1966a0be6aab7fe0471ffebbf0 /scripts
parent9d8dd091f8f336b111364ed211165b5ec9842a24 (diff)
downloadnetifd-069b6b830492109f3e880063f7f52ce2329cb9b6.tar.gz
netifd: Fix proto shell setup/teardwon race condition
Fix setup race condition when proto shell is in teardown or setup_abort state when setup cmd is received. Don't change the proto shell state and launch no setup in these conditions so the proto shell teardown timeout handler does not kill the wrong processes and proto_shell_task_finish takes action on the correct teardown state. Don't launch a new setup action when already in setup state. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions