]> git.puffer.fish Git - mirror/frr.git/commit
zebra: avoid case where same interface pointer returned
authorPhilippe Guibert <philippe.guibert@6wind.com>
Fri, 4 May 2018 07:26:10 +0000 (09:26 +0200)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Sat, 12 May 2018 13:24:46 +0000 (15:24 +0200)
commitb4d130923622dca9592c67f3f580af0ff5aaf342
tree11fb26ce2993c7d717b356bc4e7e517bb251c3fc
parentaef206aff3a5c305db66436a72ddcf28c38e2bc1
zebra: avoid case where same interface pointer returned

When checking for a duplicate interface in an other NETNS, one may find
an interface in default VRF. That interface may have been moved to that
default VRF, for further action. Prevent from doing any action at this
point.

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