[ovs-git] [openvswitch/ovs] 96ff30: acinclude: Fix build with kernels with prandom* mo...
Ilya Maximets
noreply at github.com
Wed Aug 12 17:13:37 UTC 2020
Branch: refs/heads/branch-2.12
Home: https://github.com/openvswitch/ovs
Commit: 96ff30896bae48cd759e0b2335bf3b8396490ba2
https://github.com/openvswitch/ovs/commit/96ff30896bae48cd759e0b2335bf3b8396490ba2
Author: Ilya Maximets <i.maximets at ovn.org>
Date: 2020-08-12 (Wed, 12 Aug 2020)
Changed paths:
M acinclude.m4
Log Message:
-----------
acinclude: Fix build with kernels with prandom* moved to prandom.h.
Recent commit c0842fbc1b18 ("random32: move the pseudo-random 32-bit
definitions to prandom.h") in upstream kernel moved the definition
of prandom_* functions from random.h to prandom.h. This change was
also backported to stable kernels.
Fixing our configure script to look for these functions in a new
location and avoid build failures:
datapath/linux/compat/include/linux/random.h:11:19:
error: redefinition of 'prandom_u32_max'
Acked-by: Greg Rose <gvrose8192 at gmail.com>
Signed-off-by: Ilya Maximets <i.maximets at ovn.org>
More information about the git
mailing list