On 03/13/2016 10:12 AM, Sven Eckelmann wrote:
On Monday 07 March 2016 15:21:07 Matthias Schiffer wrote: [...]
By the way, the netns support is another good reason to switch from the debugfs interfaces to a netlink-based interface (as the netlink interface wouldn't need userspace applications like batctl to be aware of the namespaces). I guess I should finally finish the patches I started writing for that...
So what is your suggestion here? Should the namespace support for namespaces be rejected and you send in your netlink implementation patches? Or should this patch be merged and be removed (together with the rest of the debugfs stuff) when your netlink support is integrated?
Kind regards, Sven
As my netlink patches need more work, I guess it would make sense for me to rebase them onto the netns patchset.
At least the non-netns debugfs interface would need to continue being supported for a while I guess. As you know, both Linus Torvalds and David are very strict about kernel ABI regressions, and I know that at least Linus considers debugfs kernel ABI, so the same ABI stability guarantees as for the rest of the kernel apply. This makes me think that the netns support should not be merged into mainline until the netlink interface is done, so we don't add even more legacy interfaces.
I'll continue my work on the netlink patchset, I plan to send a v2 some time this week.