[ovs-git] [openvswitch/ovs] 52d12c: rhel7.6: Support kmod build and load for mulitple ...

yifsun noreply at github.com
Wed Jun 5 20:44:43 UTC 2019

  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 52d12cc4590d5b95505a21d3508586db3bb35d07
  Author: Yifeng Sun <pkusunyifeng at gmail.com>
  Date:   2019-06-05 (Wed, 05 Jun 2019)

  Changed paths:
    M rhel/openvswitch-kmod-fedora.spec.in
    M rhel/usr_share_openvswitch_scripts_ovs-kmod-manage.sh

  Log Message:
  rhel7.6: Support kmod build and load for mulitple kernel versions

RHEL 7.6's new kernel 3.10.0-957.12.1.el7 introduced some ABI changes.
This leads to an issue that OVS kernel module built against
kernels newer than 12.1 cannot be loaded on systems running kernels
older than 12.1, vice versa.

By inspecting datapath/linux/openvswitch.mod.c, signatures of
the following kernel functions have changed in 3.10.0-957.12.1.el7:

This patch enables OVS to build kernel modules against multiple
kernel versions and enables RHEL 7.6 system to load the compatible
module at runtime.

make rpm-fedora-kmod \
    RPMBUILD_OPT='-D "kversion 3.10.0-957.10.1.el7.x86_64 \

Acked-by: Yi-Hung Wei <yihung.wei at gmail.com>
Signed-off-by: Yifeng Sun <pkusunyifeng at gmail.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>

More information about the git mailing list