[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170518.151909.1042064929995125830.davem@davemloft.net>
Date: Thu, 18 May 2017 15:19:09 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: weiyj.lk@...il.com
Cc: saeedm@...lanox.com, matanb@...lanox.com, leonro@...lanox.com,
hadarh@...lanox.com, weiyongjun1@...wei.com,
netdev@...r.kernel.org, linux-rdma@...r.kernel.org
Subject: Re: [PATCH net-next] net/mlx5e: Fix possible memory leak
From: Wei Yongjun <weiyj.lk@...il.com>
Date: Thu, 18 May 2017 15:34:41 +0000
> From: Wei Yongjun <weiyongjun1@...wei.com>
>
> 'encap_header' is malloced and should be freed before leaving from
> the error handling cases, otherwise it will cause memory leak.
>
> Fixes: 232c001398ae ("net/mlx5e: Add support to neighbour update flow")
> Signed-off-by: Wei Yongjun <weiyongjun1@...wei.com>
Applied.
Powered by blists - more mailing lists