netifd: Rework hotplug event queueing in case of congestion
authorHans Dedecker <dedeckeh@gmail.com>
Mon, 7 Apr 2014 11:30:51 +0000 (13:30 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 26 Apr 2014 19:37:41 +0000 (21:37 +0200)
In case of event congestion (e.g. when several interfaces become active in a short notice) :
-hotplug events will be handled on a first come first served basis (before it was lifo)
-drop a new ifupdate event in favour of an already queued ifup event (before the ifup event was overwritten by the ifupdate event resulting in some hotplug scripts "missing" the ifup event)

Additonal the event flow has been documented

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Signed-off-by: Joeri Barbarien <joeri.barbarien@gmail.com>

No differences found