[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAOHTApgD35D9BEz4POk6tuq2hr_jZYf+O78zMumJ04d5dpB5=w@mail.gmail.com>
Date: Wed, 13 Dec 2017 14:09:24 -0500
From: Alexander Aring <aring@...atatu.com>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: David Miller <davem@...emloft.net>,
Jamal Hadi Salim <hadi@...atatu.com>, netdev@...r.kernel.org
Subject: Re: [PATCH net-next] net: llc: remove init_net check
Hi,
On Thu, Nov 30, 2017 at 3:12 PM, Eric Dumazet <eric.dumazet@...il.com> wrote:
>
...
>
>
> Well, we use different netns for isolation.
>
> You need more changes than simply removing this check, I guess.
>
> __llc_sap_find() would need a per netns list, or proper netns checks.
>
I looked deeper into this and try to move the list from global
resource to net struct and use per netns init... it's just a very big
task and I try to do my best there...
Also I figured out that the bridge code use a lot of global resources
which should also be per netns as well and I am worried that you can
actually move bridges to different namespaces. :-/
Just a status update - when I have time I try to do that... just need
time and it's not simple to do this change in llc.
- Alex
Powered by blists - more mailing lists