On Monday 09 May 2016 20:07:07 Andrew Lunn wrote:
This patchset completes netns support, by disabling debugfs entries when not in the default name space, and correctly handling interface stack loops when the parent is in a different name space.
It additionally adds netlink support for most of the information found in debugfs, and is netns awaire.
Attached is a tarball with the v4 version rebased on the two initial patches from the tp_meter patchset. The patches include many TODOs in the kernel-doc which should be replaced with actual docs.
The batctl patch was not yet rebased.
I've removed following change in your v4 patchset:
diff --git a/net/batman-adv/originator.c b/net/batman-adv/originator.c index 71b63e7..0455e54 100644 --- a/net/batman-adv/originator.c +++ b/net/batman-adv/originator.c @@ -1416,7 +1416,8 @@ int batadv_orig_dump(struct sk_buff *msg, struct netlink_callback *cb) int ret; int ifindex, hard_ifindex;
- ifindex = batadv_netlink_get_ifindex(cb->nlh, BATADV_ATTR_MESH_IFINDEX); + ifindex = batadv_netlink_get_ifindex(cb->nlh, + BATADV_ATTR_MESH_IFINDEX); if (!ifindex) return -EINVAL;
I've also added the diff between your patchset and the one attached tarball. I hope you can see that nothing evil was done :)
Kind regards, Sven