]> git.proxmox.com Git - mirror_frr.git/commit
bfdd: close bfd echo sockets, upon vrf disable
authorPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 3 Sep 2019 14:53:14 +0000 (16:53 +0200)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 3 Sep 2019 15:06:52 +0000 (17:06 +0200)
commit8cf3c21737d76fe0c3a4445b67f34837feb37c2b
tree3396a27a0d7be35771b863d89b6a13b4bc4d23e6
parent1076e2c2b27225950b0f3d7e65ece582c9bf61c9
bfdd: close bfd echo sockets, upon vrf disable

upon vrf disable, an event informs bfd daemon that the vrf contexts
should be removed. in the case a vrf backend is netns based, all sockets
opened under that netns have to be closed. otherwise it is impossible
for the system to completely close the network namespace. that implies
that some interfaces may not be deleted, and may not be given back to
default vrf.

PR=65291
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Acked-by: Julien Floret <julien.floret@6wind.com>
bfdd/bfd.c