[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20121002085128.53251583@nehalam.linuxnetplumber.net>
Date: Tue, 2 Oct 2012 08:51:28 -0700
From: Stephen Hemminger <shemminger@...tta.com>
To: Julian Anastasov <ja@....bg>, James Chapman <jchapman@...alix.com>
Cc: "Eric W. Biederman" <ebiederm@...ssion.com>, netdev@...r.kernel.org
Subject: Re: network namespace and kernel bind issue
On Tue, 2 Oct 2012 09:15:46 +0300 (EEST)
Julian Anastasov <ja@....bg> wrote:
>
> 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 <ja@....bg>
There are actually lots more net namespace issues in L2TP.
For example session and tunnel counts are global, not per namespace.
--
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