[ovs-git] [openvswitch/ovs] 49fd2c: datapath: compat: Fix RHEL 7 compile

GitHub noreply at github.com
Wed Feb 28 03:56:26 UTC 2018


  Branch: refs/heads/branch-2.9
  Home:   https://github.com/openvswitch/ovs
  Commit: 49fd2c78703aa7a5e768ba6e1fa631d50611bec1
      https://github.com/openvswitch/ovs/commit/49fd2c78703aa7a5e768ba6e1fa631d50611bec1
  Author: Greg Rose <gvrose8192 at gmail.com>
  Date:   2018-02-27 (Tue, 27 Feb 2018)

  Changed paths:
    M acinclude.m4
    M datapath/linux/compat/include/net/inet_frag.h

  Log Message:
  -----------
  datapath: compat: Fix RHEL 7 compile

frag_percpu_counter_batch is a variable, not a define, so checking if
it is defined is an error and causes warning messages during compile
on RHEL 7 (or other 3.10 based) builds.  Use a compat #define from
acinclude.m4 instead.

Fixes: 2070685328a6a ("compat:inet_frag.h: Check for frag_percpu_counter_batch")
Signed-off-by: Greg Rose <gvrose8192 at gmail.com>
Acked-by: Pravin B Shelar <pshelar at ovn.org>


  Commit: 5f0ad23e5cbc32ad9b29fecb098b8ee09c89dd36
      https://github.com/openvswitch/ovs/commit/5f0ad23e5cbc32ad9b29fecb098b8ee09c89dd36
  Author: Greg Rose <gvrose8192 at gmail.com>
  Date:   2018-02-27 (Tue, 27 Feb 2018)

  Changed paths:
    M datapath/linux/compat/include/linux/netdevice.h

  Log Message:
  -----------
  compat: Fix RHEL 7 build warnings

A prior commit to fix up netdev_master_upper_dev_link for recent
kernels caused a compile warning on RHEL 7 builds.

Fixes: 86a94a96163c ("datapath: Fix netdev_master_upper_dev_link for 4.14")
Signed-off-by: Greg Rose <gvrose8192 at gmail.com>
Acked-by: Pravin B Shelar <pshelar at ovn.org>


Compare: https://github.com/openvswitch/ovs/compare/eb49d391d6e7...5f0ad23e5cbc


More information about the git mailing list