Backport upstream bug fixes and related changes. The patches pass the Travis build checker (there is one error but it is a provisioning issue not related to these patches).
https://travis-ci.org/gvrose8192/ovs-experimental/builds/511756927 The patches also pass the 'make check-kmod' datapath tests on a few well know distros with no regressions or new issues. Probably the biggest change is pulling in the portions of the Linux mm.h and overflow.h headers that are required for new macros and functions to support the 'struct_size' macro and the kvmalloc* functions. We also define 'skb_valid_dst' in dst_metadata.h to help with a bug fix in our compat layer ip_tunnel.c module. New acinclude macros are defined to detect the various upstream kernel features. Alan Maguire (1): compat: iptunnel: NULL pointer deref for ip_md_tunnel_xmit Gustavo A. R. Silva (1): datapath: meter: Use struct_size() in kzalloc() Kangjie Lu (2): net: openvswitch: fix a NULL pointer dereference datapath: fix missing checks for nla_nest_start Kent Overstreet (1): datapath: convert to kvmalloc acinclude.m4 | 6 + datapath/datapath.c | 12 + datapath/flow.h | 1 - datapath/flow_netlink.h | 1 - datapath/flow_table.c | 51 +--- datapath/flow_table.h | 3 +- datapath/linux/Modules.mk | 4 +- datapath/linux/compat/include/linux/mm.h | 44 ++++ datapath/linux/compat/include/linux/overflow.h | 313 +++++++++++++++++++++++ datapath/linux/compat/include/net/dst_metadata.h | 12 + datapath/linux/compat/ip_tunnel.c | 10 +- datapath/meter.c | 4 +- manpages.mk | 6 - 13 files changed, 412 insertions(+), 55 deletions(-) create mode 100644 datapath/linux/compat/include/linux/mm.h create mode 100644 datapath/linux/compat/include/linux/overflow.h -- 1.8.3.1 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
