]> git.puffer.fish Git - mirror/frr.git/commit
zebra: handle multiple events for netns deletion event 3511/head
authorPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 18 Dec 2018 17:00:31 +0000 (18:00 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Fri, 4 Jan 2019 08:55:31 +0000 (09:55 +0100)
commitf245bcaebbd499f888c8f9355c73f8d78fded17f
tree0545e06c68396ba52ce54078a04e5b2f49bc7e56
parentc05f659a58466dd1a8dfe2a2ebbefeeb0b9c8ee0
zebra: handle multiple events for netns deletion event

When handling events from /var/run/netns folder, if several netns are
removed at the same time, only the first one is deleted in the frr. Fix
this behaviour by applying continue in the loop.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
zebra/zebra_netns_notify.c