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

Paolo Abeni <[email protected]>
Newsgroups dev.linux.lists.kernel-tls-handshake,dev.linux.lists.quic,org.kernel.vger.linux-cifs,org.kernel.vger.netdev
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.