change_seq is supposed to always be nonzero but tap devices got this wrong.

Signed-off-by: Ben Pfaff <[email protected]>
---
 lib/netdev-linux.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/netdev-linux.c b/lib/netdev-linux.c
index 0baa40f..55f676a 100644
--- a/lib/netdev-linux.c
+++ b/lib/netdev-linux.c
@@ -650,6 +650,7 @@ netdev_linux_create_tap(const struct netdev_class *class 
OVS_UNUSED,
     int error;
 
     netdev = xzalloc(sizeof *netdev);
+    netdev->change_seq = 1;
     state = &netdev->state.tap;
 
     error = cache_notifier_ref();
-- 
1.7.10.4

_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to