git://git.onelab.eu
/
sliver-openvswitch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f61d8d2
)
netdev-linux: Initialize change_seq for tap devices too.
author
Ben Pfaff
<blp@nicira.com>
Fri, 26 Jul 2013 23:27:19 +0000
(16:27 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Fri, 2 Aug 2013 19:24:18 +0000
(12:24 -0700)
change_seq is supposed to always be nonzero but tap devices got this wrong.
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/netdev-linux.c
patch
|
blob
|
history
diff --git
a/lib/netdev-linux.c
b/lib/netdev-linux.c
index
0baa40f
..
55f676a
100644
(file)
--- 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();