datapath: Convert upcalls and ODP_EXECUTE to use AF_NETLINK socket layer.
[openvswitch] / datapath / linux-2.6 / compat-2.6 / genetlink.inc
index 63760bbb9c7567afc4f8a471e9fc8842f7734844..ea2adaa8d9c17b0cb79a781f24cf843df475d47b 100644 (file)
@@ -71,3 +71,10 @@ err_out:
        return err;
 }
 #endif
+
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30)
+/* This function wasn't exported before 2.6.30.  Lose! */
+void netlink_set_err(struct sock *ssk, u32 pid, u32 group, int code)
+{
+}
+#endif