[ovs-git] [openvswitch/ovs] b3e647: compat: Fix RHEL 7 compile

GitHub noreply at github.com
Wed Feb 28 03:51:00 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: b3e647cae4489769979e66ff1b6efa890eefb9b2
      https://github.com/openvswitch/ovs/commit/b3e647cae4489769979e66ff1b6efa890eefb9b2
  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:
  -----------
  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: 64d8cb7295 ("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: be317f8a107814e606788683efa350b0c3f7befb
      https://github.com/openvswitch/ovs/commit/be317f8a107814e606788683efa350b0c3f7befb
  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: 36d3520b5f ("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/6a6ee1e9a56e...be317f8a1078


More information about the git mailing list