Re: [PATCH net-next v4 02/15] net: build socket infrastructure for QUIC protocol

Stefan Metzmacher <[email protected]> Wed, 29 Oct 2025 17:22:50 +0100
Newsgroups dev.linux.lists.quic,dev.linux.lists.kernel-tls-handshake,org.kernel.vger.linux-cifs,org.kernel.vger.netdev
Message-ID <[email protected]>
Hi Xin,

> This patch lays the groundwork for QUIC socket support in the kernel.
> It defines the core structures and protocol hooks needed to create
> QUIC sockets, without implementing any protocol behavior at this stage.
> 
> Basic integration is included to allow building the module via
> CONFIG_IP_QUIC=m.
> 
> This provides the scaffolding necessary for adding actual QUIC socket
> behavior in follow-up patches.
> 
> Signed-off-by: Pengtao He <[email protected]>
> Signed-off-by: Xin Long <[email protected]>

...

> +module_init(quic_init);
> +module_exit(quic_exit);
> +
> +MODULE_ALIAS("net-pf-" __stringify(PF_INET) "-proto-261");
> +MODULE_ALIAS("net-pf-" __stringify(PF_INET6) "-proto-261");

Shouldn't this use MODULE_ALIAS_NET_PF_PROTO(PF_INET, IPPROTO_QUIC)
instead?

metze