Skip to content
Permalink
Browse files

Merge pull request #3511 from pguibert6WIND/handle_multiple_netns_del…

…ete_event

zebra: handle multiple events for netns deletion event
  • Loading branch information...
donaldsharp committed Jan 11, 2019
2 parents 9d5a82a + f245bca commit 45511ba99cc00149e38cc41a85cef51dbbd98d36
Showing with 4 additions and 3 deletions.
  1. +4 −3 zebra/zebra_netns_notify.c
@@ -272,9 +272,10 @@ static int zebra_ns_notify_read(struct thread *t)
break;
}

if (event->mask & IN_DELETE)
return zebra_ns_delete(event->name);

if (event->mask & IN_DELETE) {
zebra_ns_delete(event->name);
continue;
}
netnspath = ns_netns_pathname(NULL, event->name);
if (!netnspath)
continue;

0 comments on commit 45511ba

Please sign in to comment.
You can’t perform that action at this time.