[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <643cb175-4112-6d40-fd41-c922b07f3a42@virtuozzo.com>
Date: Fri, 12 Jan 2018 18:56:38 +0300
From: Kirill Tkhai <ktkhai@...tuozzo.com>
To: Eric Dumazet <eric.dumazet@...il.com>, netdev@...r.kernel.org
Cc: davem@...emloft.net, ebiederm@...ssion.com
Subject: Re: [PATCH] net: Convert atomic_t net::count to refcount_t
On 12.01.2018 18:53, Eric Dumazet wrote:
> On Fri, 2018-01-12 at 18:28 +0300, Kirill Tkhai wrote:
>> Since net could be obtained from RCU lists,
>> and there is a race with net destruction,
>> the patch converts net::count to refcount_t.
>>
>> This provides sanity checks for the cases of
>> incrementing counter of already dead net,
>> when maybe_get_net() has to used instead
>> of get_net().
>>
>> Drivers: allyesconfig and allmodconfig are OK.
>>
>> Suggested-by: Eric Dumazet <eric.dumazet@...il.com>
>> Signed-off-by: Kirill Tkhai <ktkhai@...tuozzo.com>
>> ---
>
> Is this patch targeting net or net-next tree ?
I did it on top of net-next.git
> Thanks for doing that Kirill
>
> Reviewed-by: Eric Dumazet <edumazet@...gle.com>
Thanks,
Kirill
Powered by blists - more mailing lists