There's no route cache for ipv6, thus we cannot consult it when checking for
status change. It means we currently don't know the status of the outgoing
interface, this may be fixed later.

Signed-off-by: Jiri Benc <jb...@redhat.com>
---
 lib/netdev-vport.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/netdev-vport.c b/lib/netdev-vport.c
index 6bcb844608a4..a9284908d548 100644
--- a/lib/netdev-vport.c
+++ b/lib/netdev-vport.c
@@ -323,7 +323,7 @@ tunnel_check_status_change__(struct netdev_vport *netdev)
 
     iface[0] = '\0';
     route = netdev->tnl_cfg.ip_dst;
-    if (ovs_router_lookup(route, iface, &gw)) {
+    if (route && ovs_router_lookup(route, iface, &gw)) {
         struct netdev *egress_netdev;
 
         if (!netdev_open(iface, "system", &egress_netdev)) {
-- 
1.8.3.1

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to