[ovs-git] [openvswitch/ovs] d898fe: dpif-netlink: Fix a bug that causes duplicate key ...

yifsun noreply at github.com
Mon Feb 4 21:41:14 UTC 2019


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