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

Re: network namespace and kernel bind issue

flat view

From: Julian Anastasov <ja@ssi.bg>
Date: 2012-10-02 06:10:43

	Hello,

On Mon, 1 Oct 2012, Stephen Hemminger wrote:
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]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help