summaryrefslogtreecommitdiff
path: root/net/openvswitch/files/patch-lib-dpif.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/openvswitch/files/patch-lib-dpif.c')
-rw-r--r--net/openvswitch/files/patch-lib-dpif.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/net/openvswitch/files/patch-lib-dpif.c b/net/openvswitch/files/patch-lib-dpif.c
new file mode 100644
index 000000000000..f2d2276e6550
--- /dev/null
+++ b/net/openvswitch/files/patch-lib-dpif.c
@@ -0,0 +1,14 @@
+--- lib/dpif.c.orig 2011-11-02 07:36:34.000000000 +0100
++++ lib/dpif.c 2011-11-02 07:36:56.000000000 +0100
+@@ -247,7 +247,11 @@
+ dp_initialize();
+
+ if (!type || *type == '\0') {
++#ifdef HAVE_NETLINK
+ type = "system";
++#else
++ type = "netdev";
++#endif
+ }
+
+ registered_class = shash_find_data(&dpif_classes, type);