proto-shell: extend race condition avoidance
authorSteven Barth <steven@midlink.org>
Tue, 29 Jul 2014 16:41:51 +0000 (18:41 +0200)
committerSteven Barth <steven@midlink.org>
Tue, 29 Jul 2014 16:41:51 +0000 (18:41 +0200)
commite1ec2d2b9e7f7692a4ff88a0361bbcdbe34f0d99
tree42e78bb118c9be7309919f7844329e852d02141d
parent7b81300f7329a7c815dc8543c1a50febddfa6632
proto-shell: extend race condition avoidance

Disallow all notifications from the proto handler during teardown to
avoid the shell proto state being reset to S_IDLE and the interface
hanging in IFS_TEARDOWN state.

Signed-off-by: Steven Barth <steven@midlink.org>
proto-shell.c