[ovs-git] [openvswitch/ovs] cbfd58: compat: Add compat fix for old kernels

Roi Dayan noreply at github.com
Mon Nov 11 13:39:11 UTC 2019


  Branch: refs/heads/branch-2.11
  Home:   https://github.com/openvswitch/ovs
  Commit: cbfd5816df9b22dd5995ac6f37d2f2b01b39e285
      https://github.com/openvswitch/ovs/commit/cbfd5816df9b22dd5995ac6f37d2f2b01b39e285
  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