projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a487ce
)
netdev: Add classes which don't require initialization.
author
Jesse Gross
<jesse@nicira.com>
Tue, 4 Aug 2009 00:04:43 +0000
(17:04 -0700)
committer
Jesse Gross
<jesse@nicira.com>
Wed, 30 Sep 2009 19:43:19 +0000
(12:43 -0700)
If a class requires does not require initialization, still add it
to the list of netdev classes.
lib/netdev.c
patch
|
blob
|
history
diff --git
a/lib/netdev.c
b/lib/netdev.c
index 5724f4953b2a245470a2d0d66c3ed78af18f1ad3..481671f798e1c9d3a518ebed0df4babc62e0f49f 100644
(file)
--- a/
lib/netdev.c
+++ b/
lib/netdev.c
@@
-83,6
+83,8
@@
netdev_initialize(void)
status = retval;
}
}
+ } else {
+ netdev_classes[j++] = class;
}
}
n_netdev_classes = j;