From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH iproute2 0/4] ip vrf fixups Date: Wed, 21 Dec 2016 16:09:56 -0800 Message-ID: <20161221160956.4660a386@xeon-e3> References: <1481832422-10267-1-git-send-email-dsa@cumulusnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org To: David Ahern Return-path: Received: from mail-pg0-f50.google.com ([74.125.83.50]:36671 "EHLO mail-pg0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757753AbcLVAKD (ORCPT ); Wed, 21 Dec 2016 19:10:03 -0500 Received: by mail-pg0-f50.google.com with SMTP id f188so90605698pgc.3 for ; Wed, 21 Dec 2016 16:10:03 -0800 (PST) In-Reply-To: <1481832422-10267-1-git-send-email-dsa@cumulusnetworks.com> Sender: netdev-owner@vger.kernel.org List-ID: On Thu, 15 Dec 2016 12:06:58 -0800 David Ahern 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.