[ovs-git] [openvswitch/ovs] 3ba0c7: datapath: meter: Fix setting meter id for new entr...

GitHub noreply at github.com
Tue Aug 7 23:54:23 UTC 2018

  Branch: refs/heads/branch-2.10
  Home:   https://github.com/openvswitch/ovs
  Commit: 3ba0c71d52140c07209a15c0128ff31264860bcb
  Author: Justin Pettit <jpettit at ovn.org>
  Date:   2018-08-07 (Tue, 07 Aug 2018)

  Changed paths:
    M datapath/meter.c

  Log Message:
  datapath: meter: Fix setting meter id for new entries

Upstream commit:
    From: Justin Pettit <jpettit at ovn.org>
    Date: Sat, 28 Jul 2018 15:26:01 -0700
    Subject: [PATCH] openvswitch: meter: Fix setting meter id for new entries

    The meter code would create an entry for each new meter.  However, it
    would not set the meter id in the new entry, so every meter would appear
    to have a meter id of zero.  This commit properly sets the meter id when
    adding the entry.

    Fixes: 96fbc13d7e77 ("openvswitch: Add meter infrastructure")
    Signed-off-by: Justin Pettit <jpettit at ovn.org>
    Cc: Andy Zhou <azhou at ovn.org>
    Signed-off-by: David S. Miller <davem at davemloft.net>

Cc: Justin Pettit <jpettit at ovn.org>
Signed-off-by: Greg Rose <gvrose8192 at gmail.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