[ovs-git] [openvswitch/ovs] acb97a: dpif-netlink: Fix a bug that causes duplicate key ...
yifsun
noreply at github.com
Mon Feb 4 21:41:01 UTC 2019
Branch: refs/heads/branch-2.11
Home: https://github.com/openvswitch/ovs
Commit: acb97ac05cef01231ae2d7ddaf97758b603a569e
https://github.com/openvswitch/ovs/commit/acb97ac05cef01231ae2d7ddaf97758b603a569e
Author: Yifeng Sun <pkusunyifeng at gmail.com>
Date: 2019-02-04 (Mon, 04 Feb 2019)
Changed paths:
M lib/dpif-netlink.c
Log Message:
-----------
dpif-netlink: Fix a bug that causes duplicate key error in datapath
Kmod tests 122 and 123 failed and kernel reports a "Duplicate key of
type 6" error. Further debugging reveals that nl_attr_find__() should
start looking for OVS_KEY_ATTR_ETHERTYPE from offset returned by
a previous called nl_msg_start_nested(). This patch fixes it.
Tests 122 and 123 were skipped by kernel 4.15 and older versions.
Kernel 4.16 and later kernels start showing this failure.
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