On Tue, Nov 15, 2016 at 2:45 PM, Andrei Vagin wrote:
> On Tue, Nov 15, 2016 at 2:21 PM, Andrei Vagin wrote:
>> I would like to agree with you here, but looks like sockets with
>> NETLINK_F_LISTEN_ALL_NSID are able to catch these messages.
>
> Actually I found that I was wrong.
>
> do_one_broadcas
On Tue, Nov 15, 2016 at 2:21 PM, Andrei Vagin wrote:
> On Tue, Nov 15, 2016 at 1:07 PM, Cong Wang wrote:
>> On Tue, Nov 15, 2016 at 12:48 PM, Andrei Vagin wrote:
>>> On Tue, Nov 15, 2016 at 10:50 AM, Cong Wang
>>> wrote:
On Tue, Nov 15, 2016 at 10:04 AM, Cong Wang
wrote:
> On M
On Tue, Nov 15, 2016 at 1:07 PM, Cong Wang wrote:
> On Tue, Nov 15, 2016 at 12:48 PM, Andrei Vagin wrote:
>> On Tue, Nov 15, 2016 at 10:50 AM, Cong Wang wrote:
>>> On Tue, Nov 15, 2016 at 10:04 AM, Cong Wang
>>> wrote:
On Mon, Nov 14, 2016 at 10:23 PM, Andrei Vagin wrote:
> Hi Nicola
On Tue, Nov 15, 2016 at 12:48 PM, Andrei Vagin wrote:
> On Tue, Nov 15, 2016 at 10:50 AM, Cong Wang wrote:
>> On Tue, Nov 15, 2016 at 10:04 AM, Cong Wang wrote:
>>> On Mon, Nov 14, 2016 at 10:23 PM, Andrei Vagin wrote:
Hi Nicolas,
cleanup_net() calls idr_destroy(net->netns_ids) f
On Tue, Nov 15, 2016 at 10:50 AM, Cong Wang wrote:
> On Tue, Nov 15, 2016 at 10:04 AM, Cong Wang wrote:
>> On Mon, Nov 14, 2016 at 10:23 PM, Andrei Vagin wrote:
>>> Hi Nicolas,
>>>
>>> cleanup_net() calls idr_destroy(net->netns_ids) for network namespaces
>>> and then it calls unregister_netdevi
On Tue, Nov 15, 2016 at 10:04 AM, Cong Wang wrote:
> On Mon, Nov 14, 2016 at 10:23 PM, Andrei Vagin wrote:
>> Hi Nicolas,
>>
>> cleanup_net() calls idr_destroy(net->netns_ids) for network namespaces
>> and then it calls unregister_netdevice_many() which calls
>> idr_alloc(net0>netns_ids). It look
On Mon, Nov 14, 2016 at 10:23 PM, Andrei Vagin wrote:
> Hi Nicolas,
>
> cleanup_net() calls idr_destroy(net->netns_ids) for network namespaces
> and then it calls unregister_netdevice_many() which calls
> idr_alloc(net0>netns_ids). It looks wrong, doesn't it?
>
netns id is designed to allocate la
On Mon, Nov 14, 2016 at 10:23 PM, Andrei Vagin wrote:
> Hi Nicolas,
>
> cleanup_net() calls idr_destroy(net->netns_ids) for network namespaces
> and then it calls unregister_netdevice_many() which calls
> idr_alloc(net0>netns_ids). It looks wrong, doesn't it?
Here is a report from kmemleak detect
Hi Nicolas,
cleanup_net() calls idr_destroy(net->netns_ids) for network namespaces
and then it calls unregister_netdevice_many() which calls
idr_alloc(net0>netns_ids). It looks wrong, doesn't it?
I compiled the kernel with the next patch:
diff --git a/lib/idr.c b/lib/idr.c
index 6098336..c0a3a32