[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAH-L+nNX-3ervNe-P-a+CA8=nuYkt88QfRbpXsTtpvgXqqzZtA@mail.gmail.com>
Date: Mon, 13 Jan 2025 10:44:37 +0530
From: Kalesh Anakkur Purayil <kalesh-anakkur.purayil@...adcom.com>
To: Jakub Kicinski <kuba@...nel.org>
Cc: davem@...emloft.net, netdev@...r.kernel.org, edumazet@...gle.com,
pabeni@...hat.com, andrew+netdev@...n.ch, horms@...nel.org
Subject: Re: [PATCH net-next 1/2] net: un-export init_dummy_netdev()
On Sat, Jan 11, 2025 at 12:30 PM Jakub Kicinski <kuba@...nel.org> wrote:
>
> There are no in-tree module callers of init_dummy_netdev(), AFAICT.
>
> Signed-off-by: Jakub Kicinski <kuba@...nel.org>
> ---
> net/core/dev.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/net/core/dev.c b/net/core/dev.c
> index 1a90ed8cc6cc..23e7f6a3925b 100644
> --- a/net/core/dev.c
> +++ b/net/core/dev.c
> @@ -10782,7 +10782,6 @@ void init_dummy_netdev(struct net_device *dev)
> memset(dev, 0, sizeof(struct net_device));
> init_dummy_netdev_core(dev);
> }
> -EXPORT_SYMBOL_GPL(init_dummy_netdev);
>
> /**
> * register_netdev - register a network device
> --
> 2.47.1
>
>
I can see that "net/xfrm/xfrm_input.c" and "net/mptcp/protocol.c" are
invoking init_dummy_netdev() in the init routines.
--
Regards,
Kalesh AP
Download attachment "smime.p7s" of type "application/pkcs7-signature" (4239 bytes)
Powered by blists - more mailing lists