[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190620143146.6b45e9bb@hermes.lan>
Date: Thu, 20 Jun 2019 14:31:46 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: Matteo Croce <mcroce@...hat.com>
Cc: netdev@...r.kernel.org, David Ahern <dsahern@...nel.org>,
Andrea Claudi <aclaudi@...hat.com>
Subject: Re: [PATCH iproute2 v2 0/3] refactor the cmd_exec()
On Tue, 18 Jun 2019 16:49:32 +0200
Matteo Croce <mcroce@...hat.com> wrote:
> Refactor the netns and ipvrf code so less steps are needed to exec commands
> in a netns or a VRF context.
> Also remove some code which became dead. bloat-o-meter shows a tiny saving.
>
> Matteo Croce (3):
> netns: switch netns in the child when executing commands
> ip vrf: use hook to change VRF in the child
> netns: make netns_{save,restore} static
>
> include/namespace.h | 2 --
> include/utils.h | 6 ++---
> ip/ip.c | 1 -
> ip/ipnetns.c | 61 ++++++++++++++++++++++++++++++++++-----------
> ip/ipvrf.c | 12 ++++++---
> lib/exec.c | 7 +++++-
> lib/namespace.c | 31 -----------------------
> lib/utils.c | 27 --------------------
> 8 files changed, 63 insertions(+), 84 deletions(-)
>
Ok, applied.
Powered by blists - more mailing lists