[ovs-git] [openvswitch/ovs] 9a10d8: ovsdb-idl.c: Fix IDL index problem when rows are u...

GitHub noreply at github.com
Tue Aug 14 00:33:27 UTC 2018


  Branch: refs/heads/branch-2.8
  Home:   https://github.com/openvswitch/ovs
  Commit: 9a10d870439d988606f83ac5340c3d7d354cafdd
      https://github.com/openvswitch/ovs/commit/9a10d870439d988606f83ac5340c3d7d354cafdd
  Author: Han Zhou <zhouhan at gmail.com>
  Date:   2018-08-13 (Mon, 13 Aug 2018)

  Changed paths:
    M lib/ovsdb-idl.c
    M tests/ovsdb-idl.at
    M tests/test-ovsdb.c

  Log Message:
  -----------
  ovsdb-idl.c: Fix IDL index problem when rows are updated.

In current IDL index code it doesn't updated index when handling
"update2" messages, which is the default case. The consequence
is that when a row is updated, the index is not updated accordingly,
and even worse, it causes crash when calling ovsdb_idl_destroy().
It can be easily reproduced by the test cases added in this patch.

Signed-off-by: Han Zhou <hzhou8 at ebay.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>



      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the git mailing list