From: "Zhang, Chen" <chen.zhang@intel.com>
To: Pan Nengyuan <pannengyuan@huawei.com>, Li Qiang <liq3ea@gmail.com>
Cc: zhanghailiang <zhang.zhanghailiang@huawei.com>,
"qemu-trivial@nongnu.org" <qemu-trivial@nongnu.org>,
Jason Wang <jasowang@redhat.com>,
Laurent Vivier <laurent@vivier.eu>,
Qemu Developers <qemu-devel@nongnu.org>,
Chen Qun <kuhn.chenqun@huawei.com>
Subject: RE: [PATCH] net/filter-rewriter: destroy g_hash_table in colo_rewriter_cleanup
Date: Sat, 10 Oct 2020 16:22:18 +0000 [thread overview]
Message-ID: <b2e6f80cf0f04b39a7ebeb96a572fe7c@intel.com> (raw)
In-Reply-To: <e327c596-08bf-655b-5b2b-aaeb4fcbdb2e@huawei.com>
I already queued this patch to COLO proxy tree, then I will send a series to Jason.
Thanks
Chen
> -----Original Message-----
> From: Pan Nengyuan <pannengyuan@huawei.com>
> Sent: Saturday, October 10, 2020 6:55 PM
> To: Li Qiang <liq3ea@gmail.com>
> Cc: Qemu Developers <qemu-devel@nongnu.org>; Zhang, Chen
> <chen.zhang@intel.com>; Jason Wang <jasowang@redhat.com>;
> zhanghailiang <zhang.zhanghailiang@huawei.com>; Chen Qun
> <kuhn.chenqun@huawei.com>; qemu-trivial@nongnu.org; Laurent Vivier
> <laurent@vivier.eu>
> Subject: Re: [PATCH] net/filter-rewriter: destroy g_hash_table in
> colo_rewriter_cleanup
>
> ping!
>
> Maybe missed to queue?
>
> On 2020/9/5 8:44, Li Qiang wrote:
> > Pan Nengyuan <pannengyuan@huawei.com> 于2020年9月4日周五 下
> 午3:23写道:
> >>
> >> s->connection_track_table forgot to destroy in colo_rewriter_cleanup. Fix
> it.
> >>
> >> Reported-by: Euler Robot <euler.robot@huawei.com>
> >> Signed-off-by: Pan Nengyuan <pannengyuan@huawei.com>
> >
> > Reviewed-by: Li Qiang <liq3ea@gmail.com>
> >
> >> ---
> >> net/filter-rewriter.c | 2 ++
> >> 1 file changed, 2 insertions(+)
> >>
> >> diff --git a/net/filter-rewriter.c b/net/filter-rewriter.c index
> >> 1aaad101b6..9ff366d44f 100644
> >> --- a/net/filter-rewriter.c
> >> +++ b/net/filter-rewriter.c
> >> @@ -376,6 +376,8 @@ static void colo_rewriter_cleanup(NetFilterState
> *nf)
> >> filter_rewriter_flush(nf);
> >> g_free(s->incoming_queue);
> >> }
> >> +
> >> + g_hash_table_destroy(s->connection_track_table);
> >> }
> >>
> >> static void colo_rewriter_setup(NetFilterState *nf, Error **errp)
> >> --
> >> 2.18.2
> >>
> >>
prev parent reply other threads:[~2020-10-10 16:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-04 13:49 [PATCH] net/filter-rewriter: destroy g_hash_table in colo_rewriter_cleanup Pan Nengyuan
2020-09-04 15:30 ` Zhang, Chen
2020-09-05 0:44 ` Li Qiang
2020-10-10 10:54 ` Pan Nengyuan
2020-10-10 16:22 ` Zhang, Chen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b2e6f80cf0f04b39a7ebeb96a572fe7c@intel.com \
--to=chen.zhang@intel.com \
--cc=jasowang@redhat.com \
--cc=kuhn.chenqun@huawei.com \
--cc=laurent@vivier.eu \
--cc=liq3ea@gmail.com \
--cc=pannengyuan@huawei.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@nongnu.org \
--cc=zhang.zhanghailiang@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).