[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090222.001117.21723003.davem@davemloft.net>
Date: Sun, 22 Feb 2009 00:11:17 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: ebiederm@...ssion.com
Cc: containers@...ts.osdl.org, netdev@...r.kernel.org,
adobriyan@...il.com, den@...nvz.org
Subject: Re: [PATCH 3/3] netns: Remove net_alive
From: ebiederm@...ssion.com (Eric W. Biederman)
Date: Fri, 20 Feb 2009 08:02:57 -0800
>
> It turns out that net_alive is unnecessary, and the original problem
> that led to it being added was simply that the icmp code thought
> it was a network device and wound up being unable to handle packets
> while there were still packets in the network namespace.
>
> Now that icmp and tcp have been fixed to properly register themselves
> this problem is no longer present and we have a stronger guarantee
> that packets will not arrive in a network namespace then that provided
> by net_alive in netif_receive_skb. So remove net_alive allowing
> packet reception run a little faster.
>
> Additionally document the strong reason why network namespace cleanup
> is safe so that if something happens again someone else will have
> a chance of figuring it out.
>
> Signed-off-by: Eric W. Biederman <ebiederm@...stanetworks.com>
Also applied, thanks Eric.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists