[ovs-git] [openvswitch/ovs] 4115e2: dpif-netlink: Prevent abort in probe_broken_meters...

GitHub noreply at github.com
Fri Aug 17 20:14:42 UTC 2018


  Branch: refs/heads/branch-2.10
  Home:   https://github.com/openvswitch/ovs
  Commit: 4115e28cb4f0b1bcf573339ce5efd5a094a9b977
      https://github.com/openvswitch/ovs/commit/4115e28cb4f0b1bcf573339ce5efd5a094a9b977
  Author: Justin Pettit <jpettit at ovn.org>
  Date:   2018-08-17 (Fri, 17 Aug 2018)

  Changed paths:
    M lib/dpif-netlink.c

  Log Message:
  -----------
  dpif-netlink: Prevent abort in probe_broken_meters().

Commit 92d0d515d ("dpif-netlink: Probe for broken Linux meter
implementations.") introduced a deadlock on the 'once' structure
declared in probe_broken_meters() with the following callstack:
   probe_broken_meters()
  probe_broken_meters__()
  dpif_netlink_meter_set()
  probe_broken_meters()

This commit introduce a modified version of dpif_netlink_meter_set()
that sets a meter without calling the probe.

Reported-by: Numan Siddique <nusiddiq at redhat.com>
Signed-off-by: Justin Pettit <jpettit at ovn.org>
Acked-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