[ovs-dev] [PATCH] ofproto: Release ofport_usage to avoid memory leak.

2022-09-19 Thread Mengxin Liu
Signed-off-by: oilbeater --- ofproto/ofproto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c index 3a527683c..7c6cb1c56 100644 --- a/ofproto/ofproto.c +++ b/ofproto/ofproto.c @@ -2429,7 +2429,7 @@ static void dealloc_ofp_port(struct ofp

[ovs-dev] [PATCH] ofproto: Release ofport_usage to avoid memory leak.

2022-09-19 Thread Mengxin Liu
Signed-off-by: Mengxin Liu --- ofproto/ofproto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c index 3a527683c..7c6cb1c56 100644 --- a/ofproto/ofproto.c +++ b/ofproto/ofproto.c @@ -2429,7 +2429,7 @@ static void dealloc_ofp_port(struct

Re: [ovs-dev] [PATCH] ofproto: Release ofport_usage to avoid memory leak.

2022-09-19 Thread Mengxin Liu
e memleak-bpfcc cannot find any leak and the memory will not always increase. On Mon, 19 Sept 2022 at 21:57, Aaron Conole wrote: > > Mengxin Liu writes: > > > Signed-off-by: Mengxin Liu > > --- > > ofproto/ofproto.c | 2 +- > > 1 file changed, 1 insertio

Re: [ovs-dev] [PATCH] ofproto: Release ofport_usage to avoid memory leak.

2022-09-20 Thread Mengxin Liu
, 20 Sept 2022 at 20:40, Aaron Conole wrote: > > Mengxin Liu writes: > > > Sorry for the incomplete information. This patch resolved the problem > > in my environment, > > but I'm not familiar with the recycling logic and if it will affect > > the recycling.