[ovs-git] [openvswitch/ovs] e38b41: acinclude: Fix build with kernels with prandom* mo...

Ilya Maximets noreply at github.com
Wed Aug 12 17:13:22 UTC 2020


  Branch: refs/heads/branch-2.11
  Home:   https://github.com/openvswitch/ovs
  Commit: e38b412dcb4f493e2b7a727557423eb5d4171a81
      https://github.com/openvswitch/ovs/commit/e38b412dcb4f493e2b7a727557423eb5d4171a81
  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