On Thu, 15 Dec 2016 12:06:58 -0800 David Ahern <d...@cumulusnetworks.com> wrote:
> Some minor cleanups to the 'ip vrf' command. > > Patch 1 moves the CGROUP_BPF hint to the failure of prog_load since it > fails first. > > Patch 2 refactors ipvrf_identify. The action part is moved to a function > that can be used standalone and in the process flipped to fopen/fgets for > robustness should the cgroups file grow larger than 4k. > > Patch 3 fixes the path switching to "default" VRF. > > Patch 4 moves a task to default VRF when switching namespaces. > > David Ahern (4): > ip vrf: Move kernel config hint to prog_load failure > ip vrf: Refactor ipvrf_identify > ip vrf: Fix reset to default VRF > ip netns: Reset vrf to default VRF on namespace switch > > ip/ip_common.h | 1 + > ip/ipnetns.c | 5 +++ > ip/ipvrf.c | 103 > +++++++++++++++++++++++++++++++++++---------------------- > 3 files changed, 69 insertions(+), 40 deletions(-) > Applied thanks.