Re: [PATCH v3] net: openvswitch: fix possible memory leak in ovs_meter_cmd_set()

From: Simon Horman
Date: Fri Feb 10 2023 - 03:50:05 EST


On Fri, Feb 10, 2023 at 08:35:50AM +0100, Eelco Chaudron wrote:
>
>
> On 10 Feb 2023, at 3:05, Hangyu Hua wrote:
>
> > old_meter needs to be free after it is detached regardless of whether
> > the new meter is successfully attached.
> >
> > Fixes: c7c4c44c9a95 ("net: openvswitch: expand the meters supported number")
> > Signed-off-by: Hangyu Hua <hbh25y@xxxxxxxxx>
>
> Thanks for doing a v3. The change looks good to me!
>
> Acked-by: Eelco Chaudron <echaudro@xxxxxxxxxx>

Reviewed-by: Simon Horman <simon.horman@xxxxxxxxxxxx>