Thread (7 messages) 7 messages, 4 authors, 2012-06-06

Re: [PATCH net-next v2 1/2] inetpeer: add namespace support for inetpeer

From: David Miller <davem@davemloft.net>
Date: 2012-06-06 17:43:24

From: Gao feng <redacted>
Date: Tue, 5 Jun 2012 15:52:17 +0800
now inetpeer doesn't support namespace,the information will
be leaking across namespace.

this patch move the global vars v4_peers and v6_peers to
netns_ipv4 and netns_ipv6 as a field peers.

add struct pernet_operations inetpeer_ops to initial pernet
inetpeer data.

and change family_to_base and inet_getpeer to support namespace.

Signed-off-by: Gao feng <redacted>
As stated yesterday we have to move the inetpeer tree roots into
the FIB rule entries to fix other bugs, and that as a result will
transparently fix this problem too.

So I'm dropping these two patches and will work on the mentioned
approach to this fix.

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help