[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190718.121130.1625873392550008613.davem@davemloft.net>
Date: Thu, 18 Jul 2019 12:11:30 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: saeedm@...lanox.com
Cc: hslester96@...il.com, linux-rdma@...r.kernel.org,
netdev@...r.kernel.org, leon@...nel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] net/mlx5: Replace kfree with kvfree
From: Saeed Mahameed <saeedm@...lanox.com>
Date: Thu, 18 Jul 2019 18:38:34 +0000
> On Wed, 2019-07-17 at 18:14 +0800, Chuhong Yuan wrote:
>> Variable allocated by kvmalloc should not be freed by kfree.
>> Because it may be allocated by vmalloc.
>> So replace kfree with kvfree here.
>>
>> Fixes: 9b1f298236057 ("net/mlx5: Add support for FW fatal reporter
>> dump")
>> Signed-off-by: Chuhong Yuan <hslester96@...il.com>
>
> Acked-by: Saeed Mahameed <saeedm@...lanox.com>
>
> Dave, i guess this can go to net.
Ok, applied.
Powered by blists - more mailing lists