Re: [PATCH v2] net/mlx5e: Use refcount_t for refcount

From: David Miller
Date: Tue Aug 06 2019 - 16:48:52 EST


From: Saeed Mahameed <saeedm@xxxxxxxxxxxx>
Date: Tue, 6 Aug 2019 20:42:56 +0000

> On Sat, 2019-08-03 at 00:48 +0800, Chuhong Yuan wrote:
>> refcount_t is better for reference counters since its
>> implementation can prevent overflows.
>> So convert atomic_t ref counters to refcount_t.
>>
>> Signed-off-by: Chuhong Yuan <hslester96@xxxxxxxxx>
>> ---
>> Changes in v2:
>> - Add #include.
>>
>
> Acked-by: Saeed Mahameed <saeedm@xxxxxxxxxxxx>
>
> Dave, up to you take it, or leave it to me :).

Please take it, thank you.