[ovs-git] [openvswitch/ovs] 970232: netdev: Properly clear 'details' when iterating in...

GitHub noreply at github.com
Wed Oct 3 21:09:27 UTC 2018


  Branch: refs/heads/branch-2.8
  Home:   https://github.com/openvswitch/ovs
  Commit: 970232e84f12f1a397414477db81c3c5ba1f4451
      https://github.com/openvswitch/ovs/commit/970232e84f12f1a397414477db81c3c5ba1f4451
  Author: Ben Pfaff <blp at ovn.org>
  Date:   2018-10-03 (Wed, 03 Oct 2018)

  Changed paths:
    M lib/netdev.c

  Log Message:
  -----------
  netdev: Properly clear 'details' when iterating in NETDEV_QOS_FOR_EACH.

The function comment for netdev_queue_dump_next() said that it cleared its
'detail' argument, but it didn't actually do that, which meant that details
could be incorrectly carried along from one queue to the next.

Reported-by: Flavio Leitner <fbl at sysclose.org>
Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Eelco Chaudron <echaudro at redhat.com>
Acked-by: Flavio Leitner <fbl at sysclose.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