Thread (28 messages) 28 messages, 3 authors, 2026-02-02

Re: [PATCH net-next v8 15/15] quic: add packet parser base

From: Paolo Abeni <pabeni@redhat.com>
Date: 2026-01-29 16:53:22
Also in: linux-cifs

On 1/26/26 3:51 PM, Xin Long wrote:
+/* Lookup listening socket for Client Initial packet (in process context). */
+static struct sock *quic_packet_get_listen_sock(struct sk_buff *skb)
+{
+	union quic_addr daddr, saddr;
+	struct quic_data alpns = {};
+	struct sock *sk;
+
+	quic_get_msg_addrs(skb, &daddr, &saddr);
+
+	if (quic_packet_parse_alpn(skb, &alpns))
+		return NULL;
+
+	local_bh_disable();
Is this really needed? If so, it needs some comment explaining the
rationale, otherwise please drop it.

/P
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help