[ovs-git] [openvswitch/ovs] 300016: compat: Add compat fix for old kernels
Roi Dayan
noreply at github.com
Mon Nov 11 13:39:13 UTC 2019
Branch: refs/heads/branch-2.12
Home: https://github.com/openvswitch/ovs
Commit: 3000160ef611af0851014212357e9bfe057dae03
https://github.com/openvswitch/ovs/commit/3000160ef611af0851014212357e9bfe057dae03
Author: Roi Dayan <roid at mellanox.com>
Date: 2019-11-06 (Wed, 06 Nov 2019)
Changed paths:
M acinclude.m4
M include/linux/pkt_cls.h
Log Message:
-----------
compat: Add compat fix for old kernels
In kernels older than 4.8, struct tcf_t didn't have the firstuse.
If openvswitch is compiled with the compat pkt_cls.h then there is
a struct size mismatch between openvswitch and the kernel which cause
parsing netlink actions to fail.
After this commit parsing the netlink actions pass even if compiled with
the compat pkt_cls.h.
Signed-off-by: Roi Dayan <roid at mellanox.com>
Signed-off-by: Simon Horman <simon.horman at netronome.com>
More information about the git
mailing list