summaryrefslogtreecommitdiff
path: root/lib/conntrack-private.h
diff options
context:
space:
mode:
authorYifeng Sun <pkusunyifeng@gmail.com>2019-05-31 14:58:09 -0700
committerBen Pfaff <blp@ovn.org>2019-06-05 13:21:27 -0700
commit52d12cc4590d5b95505a21d3508586db3bb35d07 (patch)
treed9add6756816a7ae00bcbb13ce5af74eeed09229 /lib/conntrack-private.h
parent81b2442261371f4e72b257dea184010e752501d1 (diff)
downloadopenvswitch-52d12cc4590d5b95505a21d3508586db3bb35d07.tar.gz
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: nf_ct_get_tuple nf_ct_invert_tuplepr __nf_ct_l4proto_find 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 \ 3.10.0-957.12.1.el7.x86_64"' Acked-by: Yi-Hung Wei <yihung.wei@gmail.com> Signed-off-by: Yifeng Sun <pkusunyifeng@gmail.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'lib/conntrack-private.h')
0 files changed, 0 insertions, 0 deletions