[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160922.014143.604703967863844795.davem@davemloft.net>
Date: Thu, 22 Sep 2016 01:41:43 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: tariqt@...lanox.com
Cc: netdev@...r.kernel.org, eranbe@...lanox.com, kamalh@...lanox.com
Subject: Re: [PATCH net] net/mlx4_core: Fix to clean devlink resources
From: Tariq Toukan <tariqt@...lanox.com>
Date: Tue, 20 Sep 2016 14:55:31 +0300
> From: Kamal Heib <kamalh@...lanox.com>
>
> This patch cleans devlink resources by calling devlink_port_unregister()
> to avoid the following issues:
>
> - Kernel panic when triggering reset flow.
> - Memory leak due to unfreed resources in mlx4_init_port_info().
>
> Fixes: 09d4d087cd48 ("mlx4: Implement devlink interface")
> Signed-off-by: Kamal Heib <kamalh@...lanox.com>
> Signed-off-by: Tariq Toukan <tariqt@...lanox.com>
> ---
> Please push it to -stable >= 4.6 as well. Thanks.
Applied and queued up for -stable, thanks.
Powered by blists - more mailing lists