proto-shell: fix setup/renew race condition
authorFelix Fietkau <nbd@openwrt.org>
Sat, 26 Jul 2014 01:46:39 +0000 (03:46 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 26 Jul 2014 01:47:03 +0000 (03:47 +0200)
commitc430d3278b91369204c83cd135673a5d5cded699
tree269d91f785c2c1e3ff5ed28db4bd5002203c6850
parente46cbd2f89f0be8e4a2423c065cf6b2e6ebcfea3
proto-shell: fix setup/renew race condition

If a renew event arrives before the setup event has been processed, the
renew event needs to be deferred, otherwise interfaces can get stuck

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
proto-shell.c