[ovs-dev] [PATCH] datapath: meter: Fix setting meter id for new entries

Ben Pfaff blp at ovn.org
Tue Aug 7 23:55:13 UTC 2018


On Tue, Aug 07, 2018 at 04:45:26PM -0700, Greg Rose wrote:
> From: Justin Pettit <jpettit at ovn.org>
> 
> 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>

Thanks, applied to master and branch-2.10.  If it needs backporting
further (maybe it does?), it didn't apply without conflicts, so maybe
posting a backported version would be a good idea.

Thanks,

Ben.


More information about the dev mailing list