[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250423063350.49025e5e@kernel.org>
Date: Wed, 23 Apr 2025 06:33:50 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Michal Swiatkowski <michal.swiatkowski@...ux.intel.com>
Cc: Wojciech Drewek <wojciech.drewek@...el.com>, Kuniyuki Iwashima
<kuniyu@...zon.com>, Andrew Lunn <andrew+netdev@...n.ch>, "David S. Miller"
<davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>, Paolo Abeni
<pabeni@...hat.com>, Simon Horman <horms@...nel.org>, Kuniyuki Iwashima
<kuni1840@...il.com>, netdev@...r.kernel.org, marcin.szycik@...el.com
Subject: Re: [PATCH v2 net-next 2/3] pfcp: Convert pfcp_net_exit() to
->exit_rtnl().
On Wed, 23 Apr 2025 10:37:05 +0200 Michal Swiatkowski wrote:
> On Tue, Apr 22, 2025 at 07:47:57PM -0700, Jakub Kicinski wrote:
> > On Thu, 17 Apr 2025 17:32:33 -0700 Kuniyuki Iwashima wrote:
> > > drivers/net/pfcp.c | 23 +++++++----------------
> >
> > Wojciech, MichaĆ, does anyone use this driver?
> > It seems that it hooks dev_get_tstats64 as ndo_get_stats64
> > but it never allocates tstats, so any ifconfig / ip link
> > run after the device is create immediately crashes the kernel.
> > I don't see any tstats in this driver history or UDP tunnel
> > code so I'm moderately confused as how this worked / when
> > it broke.
> >
> > If I'm not missing anything and indeed this driver was always
> > broken we should just delete it ?
>
> Uh, I remember that we used it to add tc filter. Maybe we can fix it?
If it really was broken for over a year and nobody noticed -
my preference would be to delete it. I don't think you need
an actual tunnel dev to add TC filters?
Powered by blists - more mailing lists