From: Haoyu Li <lihaoyu499@gmail.com>
To: "David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>,
Paolo Abeni <pabeni@redhat.com>
Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
chenyuan0y@gmail.com, Zijie Zhao <zzjas98@gmail.com>
Subject: [net/netlink] Question about the function `genl_init`
Date: Tue, 8 Oct 2024 21:53:52 +0800 [thread overview]
Message-ID: <CAPbMC76hAA3sonOM7LvXPAF0r19uSo8sWcqL42M+iR6JCBLGMg@mail.gmail.com> (raw)
Dear Linux developers of NETWORKING,
We are curious about the function `genl_init` at
https://elixir.bootlin.com/linux/v6.11.2/source/net/netlink/genetlink.c#L1912.
According to a history patch commit
(https://github.com/torvalds/linux/commit/5559cea2d5aa3018a5f00dd2aca3427ba09b386b),
it seems that pernet operations should be registered before
registering the generic netlink family. So we wonder if the order of
function calls in the `genl_init` should be adjusted.
Do you think a patch is needed for this?
Please kindly correct us if we missed any key information. Thanks!
Best,
Haoyu Li
reply other threads:[~2024-10-08 13:54 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAPbMC76hAA3sonOM7LvXPAF0r19uSo8sWcqL42M+iR6JCBLGMg@mail.gmail.com \
--to=lihaoyu499@gmail.com \
--cc=chenyuan0y@gmail.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=zzjas98@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).