2
0
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:
Ben Pfaff
2013-07-26 16:27:19 -07:00
parent f61d8d2931
commit 2e5ae318d5

View File

@@ -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();