From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: Wei Dai <wei.dai@intel.com>, mb@smartsharesystems.com
Cc: dev@dpdk.org
Subject: Re: [PATCH] lpm: fix freeing memory
Date: Sun, 06 Nov 2016 23:46:38 +0100 [thread overview]
Message-ID: <2303625.GdoPMvMkiz@xps13> (raw)
In-Reply-To: <1478168159-57529-1-git-send-email-wei.dai@intel.com>
2016-11-03 18:15, Wei Dai:
> The memory pointed by lpm->rules_tbl should also be freed
> when memory malloc for tbl8 fails in rte_lpm_create_v1604( ).
> And the memory pointed by lpm->tbl8 should also be freed
> when the lpm object is freed in rte_lpm_free_v1604( ).
>
> Fixes: f1f7261838b3 ("lpm: add a new config structure for IPv4")
>
> Signed-off-by: Morten Brørup <mb@smartsharesystems.com>
> Signed-off-by: Wei Dai <wei.dai@intel.com>
Applied, thanks
prev parent reply other threads:[~2016-11-06 22:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-03 10:15 [PATCH] lpm: fix freeing memory Wei Dai
2016-11-06 22:46 ` Thomas Monjalon [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=2303625.GdoPMvMkiz@xps13 \
--to=thomas.monjalon@6wind.com \
--cc=dev@dpdk.org \
--cc=mb@smartsharesystems.com \
--cc=wei.dai@intel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.