[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <35a2896f-a6bc-961b-5807-fb83059e3dd0@gmail.com>
Date: Wed, 21 Apr 2021 22:23:27 -0700
From: David Ahern <dsahern@...il.com>
To: Andrea Claudi <aclaudi@...hat.com>, netdev@...r.kernel.org
Cc: stephen@...workplumber.org, dsahern@...il.com
Subject: Re: [PATCH iproute2] lib: move get_task_name() from rdma
On 4/19/21 6:34 AM, Andrea Claudi wrote:
> The function get_task_name() is used to get the name of a process from
> its pid, and its implementation is similar to ip/iptuntap.c:pid_name().
>
> Move it to lib/fs.c to use a single implementation and make it easily
> reusable.
>
> Signed-off-by: Andrea Claudi <aclaudi@...hat.com>
> ---
> include/utils.h | 1 +
> ip/iptuntap.c | 31 +------------------------------
> lib/fs.c | 24 ++++++++++++++++++++++++
> rdma/res.c | 24 ------------------------
> rdma/res.h | 1 -
> 5 files changed, 26 insertions(+), 55 deletions(-)
>
applied to iproute2-next. Thanks,
Powered by blists - more mailing lists