[ovs-git] [openvswitch/ovs] 60ebc0: dpif-netlink: Prevent abort in probe_broken_meters...

GitHub noreply at github.com
Fri Aug 17 20:11:03 UTC 2018


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