diff options
author | Ben Pfaff <blp@nicira.com> | 2013-07-26 16:27:19 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2013-08-02 12:24:18 -0700 |
commit | 2e5ae318d522ce2cf2c6424958f27fce4f8b7ae7 (patch) | |
tree | 4c7e3f8b0090cbe56a0473c039cb6d0a6c037794 /lib/netdev-linux.c | |
parent | f61d8d2931806eae5b25ed8bdd5ff4cf43afe776 (diff) |
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 <blp@nicira.com>
Diffstat (limited to 'lib/netdev-linux.c')
-rw-r--r-- | lib/netdev-linux.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/netdev-linux.c b/lib/netdev-linux.c index 0baa40f2..55f676a5 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(); |