]> git.proxmox.com Git - mirror_frr.git/commit - zebra/interface.c
zebra: socket operations stick to namespace if necessary
authorPhilippe Guibert <philippe.guibert@6wind.com>
Fri, 8 Dec 2017 18:06:34 +0000 (19:06 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 27 Feb 2018 10:11:24 +0000 (11:11 +0100)
commitfe533c564e1901ee6b767708345abb52a56056af
tree6837eb93d5e7e0ea4edf93286e4cf785c94a2868
parentc17d483845c4b772270cade18f2ce5a5e14bc14e
zebra: socket operations stick to namespace if necessary

Upon following calls: interface poll, address poll, route poll, and
ICMPv6 handling, each new Namespace is being parsed. For that, the
socket operations need to switch from one NS to one other, to get the
necessary information.

As of now, there is a crash when dumping interfaces, through show
running-config.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
lib/ns.c
lib/vrf.c
zebra/if_netlink.c
zebra/interface.c
zebra/kernel_netlink.c
zebra/kernel_socket.c
zebra/rtadv.c