On Sat, Feb 04, 2017 at 09:07:19AM -0800, Andy Lutomirski wrote: > >> can see a namespaced view of the world. For this to work, presumably > >> we need to make sure that eBPF programs that are installed by programs > >> that are in a container don't see traffic that isn't in that > >> container. > > > > such approach will break existing users. > > What existing users? The whole feature has never been in a released kernel.
the v3 patch commit log explains the use cases that work across netns. And they would break if netns boundary is suddenly started to be enforced for networking program types. If you're suggesting to limit root netns for cgroup_sock program type only then David explained weeks ago why it's not acceptable for vrf use case which was the main reason to add that program type in the first place. Also it would make one specific bpf program type to be different from all others which will be confusing.