Thread (32 messages) 32 messages, 4 authors, 2026-01-08

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

From: Xin Long <lucien.xin@gmail.com>
Date: 2026-01-08 22:20:01
Also in: linux-cifs

On Thu, Jan 8, 2026 at 9:40 AM Paolo Abeni [off-list ref] wrote:
On 1/5/26 3:04 PM, Xin Long wrote:
quoted
+static int quic_net_proc_init(struct net *net)
+{
+     quic_net(net)->proc_net = proc_net_mkdir(net, "quic", net->proc_net);
+     if (!quic_net(net)->proc_net)
+             return -ENOMEM;
+
+     if (!proc_create_net_single("snmp", 0444, quic_net(net)->proc_net,
+                                 quic_snmp_seq_show, NULL))
+             goto free;
+     return 0;
+free:
Minor nits: I think an empty line before the label makes the code more
readable, and I would prefer #if IS_ENABLED() over #ifdef.
Will replace all #ifdefs with #if IS_ENABLED().

Thanks.
Other than that:

Acked-by: Paolo Abeni <pabeni@redhat.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help