mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +00:00
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>
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user