git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
datapath: Convert upcalls and ODP_EXECUTE to use AF_NETLINK socket layer.
[sliver-openvswitch.git]
/
datapath
/
linux-2.6
/
compat-2.6
/
genetlink.inc
diff --git
a/datapath/linux-2.6/compat-2.6/genetlink.inc
b/datapath/linux-2.6/compat-2.6/genetlink.inc
index
63760bb
..
ea2adaa
100644
(file)
--- a/
datapath/linux-2.6/compat-2.6/genetlink.inc
+++ b/
datapath/linux-2.6/compat-2.6/genetlink.inc
@@
-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