netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* netns refcount leak
@ 2015-03-06 23:29 Cong Wang
  2015-03-09  9:50 ` Ying Xue
  0 siblings, 1 reply; 2+ messages in thread
From: Cong Wang @ 2015-03-06 23:29 UTC (permalink / raw)
  To: Ying Xue; +Cc: netdev

Hi, Ying


The following commit from you causes a netns refcount leak:

a62fbccecd62bacb4416fc427239f5b43b25d05e is the first bad commit
commit a62fbccecd62bacb4416fc427239f5b43b25d05e
Author: Ying Xue <ying.xue@windriver.com>
Date:   Fri Jan 9 15:27:11 2015 +0800

    tipc: make subscriber server support net namespace

    TIPC establishes one subscriber server which allows users to subscribe
    their interesting name service status. After tipc supports namespace,
    one dedicated tipc stack instance is created for each namespace, and
    each instance can be deemed as one independent TIPC node. As a result,
    subscriber server must be built for each namespace.

    Signed-off-by: Ying Xue <ying.xue@windriver.com>
    Tested-by: Tero Aho <Tero.Aho@coriant.com>
    Reviewed-by: Jon Maloy <jon.maloy@ericsson.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>


which prevents a netns being removed if I enable TIPC.

I am not familiar with TIPC code, please take a look.

Thanks!

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: netns refcount leak
  2015-03-06 23:29 netns refcount leak Cong Wang
@ 2015-03-09  9:50 ` Ying Xue
  0 siblings, 0 replies; 2+ messages in thread
From: Ying Xue @ 2015-03-09  9:50 UTC (permalink / raw)
  To: Cong Wang; +Cc: netdev

On 03/07/2015 07:29 AM, Cong Wang wrote:
> Hi, Ying
> 
> 
> The following commit from you causes a netns refcount leak:
> 
> a62fbccecd62bacb4416fc427239f5b43b25d05e is the first bad commit
> commit a62fbccecd62bacb4416fc427239f5b43b25d05e
> Author: Ying Xue <ying.xue@windriver.com>
> Date:   Fri Jan 9 15:27:11 2015 +0800
> 
>     tipc: make subscriber server support net namespace
> 
>     TIPC establishes one subscriber server which allows users to subscribe
>     their interesting name service status. After tipc supports namespace,
>     one dedicated tipc stack instance is created for each namespace, and
>     each instance can be deemed as one independent TIPC node. As a result,
>     subscriber server must be built for each namespace.
> 
>     Signed-off-by: Ying Xue <ying.xue@windriver.com>
>     Tested-by: Tero Aho <Tero.Aho@coriant.com>
>     Reviewed-by: Jon Maloy <jon.maloy@ericsson.com>
>     Signed-off-by: David S. Miller <davem@davemloft.net>
> 
> 
> which prevents a netns being removed if I enable TIPC.
> 
> I am not familiar with TIPC code, please take a look.
> 

Thank you for the report! I will investigate it, so please wait a moment.

Regards,
Ying

> Thanks!
> 
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-03-09  9:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-06 23:29 netns refcount leak Cong Wang
2015-03-09  9:50 ` Ying Xue

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).