ip: only install IPv6 prefixes in FIB when the interface is up 49/22849/2
authorNeale Ranns <[email protected]>
Tue, 8 Oct 2019 05:40:54 +0000 (22:40 -0700)
committerAndrew Yourtchenko <[email protected]>
Tue, 22 Oct 2019 11:14:47 +0000 (11:14 +0000)
commitd3b170254bc41495cca90c6bfe77ffb02aaa661a
treea39972b401671293aad24b65e54d607c101d7709
parent15800e94423623ef574a1cde70f4fd0e34a1f95b
ip: only install IPv6 prefixes in FIB when the interface is up

otherwise they get installed twice and the reference counting means they are not removed.
This is the same behaviour as IPv4.

Type: fix

Change-Id: I9266e04ccff6ff06a577e85973a2ddbeb9dfc52b
Signed-off-by: Neale Ranns <[email protected]>
(cherry picked from commit 1ff3c15b3c7607c9b590ad44d18dea5eb1cb8c4e)
src/vnet/ip/ip6_forward.c