[dpdk-dev] [PATCH] cxgbe: fix memory leak when device initialization fails
Bruce Richardson
bruce.richardson at intel.com
Fri Feb 12 13:06:31 CET 2016
On Fri, Feb 12, 2016 at 05:15:30PM +0530, Rahul Lakkireddy wrote:
> Add missing code to free adapter when the device initialization fails.
>
> Fixes: 8318984927ff ("cxgbe: add pmd skeleton")
>
> Reported-by: Seth Arnold <seth.arnold at canonical.com>
> Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy at chelsio.com>
> Signed-off-by: Kumar Sanghvi <kumaras at chelsio.com>
> ---
> drivers/net/cxgbe/cxgbe_ethdev.c | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
>
You caught me just at a good time - I was just finishing pushing your two
other bug fixes when this arrived in. :-)
Applied to dpdk-next-net/rel_16_04
Thanks,
/Bruce
More information about the dev
mailing list