On Tue, Aug 28, 2018 at 05:46:14PM -0700, Justin Pettit wrote:
> dpif_netdev_meter_get() retrieved a pointer to a meter entry without
> holding a lock.  It's possible that another thread could have deleted
> that entry between retrieving the pointer and dereferencing the pointer.
> This makes the function hold the lock the entire time the meter entry is
> needed.
> 
> Found by inspection.
> 
> Signed-off-by: Justin Pettit <[email protected]>
> ---

Acked-by: Flavio Leitner <[email protected]>


_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to