From 2e5ae318d522ce2cf2c6424958f27fce4f8b7ae7 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Fri, 26 Jul 2013 16:27:19 -0700 Subject: [PATCH] netdev-linux: Initialize change_seq for tap devices too. change_seq is supposed to always be nonzero but tap devices got this wrong. Signed-off-by: Ben Pfaff --- lib/netdev-linux.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/netdev-linux.c b/lib/netdev-linux.c index 0baa40f2e..55f676a5f 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(); -- 2.47.0