Thread (13 messages) 13 messages, 4 authors, 2012-10-02

Re: network namespace and kernel bind issue

flat view

From: Stephen Hemminger <hidden>
Date: 2012-10-02 15:52:03

On Tue, 2 Oct 2012 09:15:46 +0300 (EEST)
Julian Anastasov [off-list ref] wrote:
	Hello,

On Mon, 1 Oct 2012, Stephen Hemminger wrote:
quoted
The problem was vxlan wasn't doing sk_change_net on the created socket.

I'm testing that fix.

The long term fix is to change sock_create_kern() to take a 'struct net'
argument. This would avoid the trap of having to change the namespace.
Also several places using __sock_create() could use it.

L2TP still looks to have several namespace related issues.
	There should be also .netnsok = true in l2tp_nl_family
as final step.

Regards

--
Julian Anastasov [off-list ref]
There are actually lots more net namespace issues in L2TP.
For example session and tunnel counts are global, not per namespace.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help