[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5f939ce9-6d82-4a94-8adc-aab21c330fa0@kernel.org>
Date: Thu, 10 Apr 2025 08:46:07 -0600
From: David Ahern <dsahern@...nel.org>
To: Kuniyuki Iwashima <kuniyu@...zon.com>,
"David S. Miller" <davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>
Cc: Simon Horman <horms@...nel.org>, Kuniyuki Iwashima <kuni1840@...il.com>,
netdev@...r.kernel.org, Steffen Klassert <steffen.klassert@...unet.com>,
Herbert Xu <herbert@...dor.apana.org.au>
Subject: Re: [PATCH v1 net-next 06/14] ipv4: ip_tunnel: Convert
ip_tunnel_delete_nets() callers to ->exit_rtnl().
On 4/9/25 8:19 PM, Kuniyuki Iwashima wrote:
> ip_tunnel_delete_nets() iterates the dying netns list and performs the
> same operations for each.
>
> Let's export ip_tunnel_destroy() as ip_tunnel_delete_net() and call it
> from ->exit_rtnl().
>
> Signed-off-by: Kuniyuki Iwashima <kuniyu@...zon.com>
> ---
> Cc: David Ahern <dsahern@...nel.org>
> Cc: Steffen Klassert <steffen.klassert@...unet.com>
> Cc: Herbert Xu <herbert@...dor.apana.org.au>
> ---
> include/net/ip_tunnels.h | 7 +++----
> net/ipv4/ip_gre.c | 27 ++++++++++++---------------
> net/ipv4/ip_tunnel.c | 25 +++++++------------------
> net/ipv4/ip_vti.c | 9 ++++-----
> net/ipv4/ipip.c | 9 ++++-----
> 5 files changed, 30 insertions(+), 47 deletions(-)
>
Reviewed-by: David Ahern <dsahern@...nel.org>
Powered by blists - more mailing lists