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

yifsun noreply at github.com
Mon Feb 4 21:40:12 UTC 2019


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