File datapath-handle-linux-3.13-macro-backport.patch of Package openvswitch.2686

Index: datapath/linux/compat/utils.c
===================================================================
--- datapath/linux/compat/utils.c.orig
+++ datapath/linux/compat/utils.c
@@ -38,6 +38,8 @@ void inet_proto_csum_replace16(__sum16 *
 }
 #endif
 
+/* __net_get_random_once was backported to SLE12 as of kernel 3.12.44 */
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,12,44)
 bool __net_get_random_once(void *buf, int nbytes, bool *done,
 			   atomic_t *done_key)
 {
@@ -58,3 +60,4 @@ bool __net_get_random_once(void *buf, in
 
 	return true;
 }
+#endif
openSUSE Build Service is sponsored by