summaryrefslogtreecommitdiff
path: root/macvlan.c
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2015-02-12 17:41:15 +0100
committerSteven Barth <steven@midlink.org>2015-02-17 15:12:02 +0100
commit5a0909caaff498d61b5cf17162fd0c5c5b381b8b (patch)
tree57955ecd3bfe1ff08d1ac7f8277915b24432e700 /macvlan.c
parent2d09cca0e90127d33eed43b8790f5778ba3b943f (diff)
downloadnetifd-5a0909caaff498d61b5cf17162fd0c5c5b381b8b.tar.gz
netifd: Fix possible hotplug race conditions
Don't drop ifup/ifdown events in case an interface event is cached as it leads to possible race conditions (eg firewall not being reloaded as ifup is dropped) when multiple interface events are fired in a short timeframe (eg multiple PPP link flaps). Always overwrite the cached interface event except for the interface update event so the hotplug scripts are launched with the last known status. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'macvlan.c')
0 files changed, 0 insertions, 0 deletions