Article View: linux.kernel.netdev
Article #13285[PATCH net-next v18 07/15] quic: add connection id management
From: Xin Long
Date: Mon, 09 Nov 2026 16:27
Date: Mon, 09 Nov 2026 16:27
823 lines
41598 bytes
41598 bytes
This patch introduces 'struct quic_conn_id_set' for managing Connection
IDs (CIDs), which are represented by 'struct quic_source_conn_id'
and 'struct quic_dest_conn_id'.
It provides helpers to add and remove CIDs from the set, and handles
insertion of source CIDs into the global connection ID hash table
when necessary.
- quic_conn_id_add(): Add a new Connection ID to the set, and inserts
it to conn_id hash table if it is a source conn_id.
- quic_conn_id_retire(): Retire a connection ID by marking it dead, then
remove consecutive dead entries from the head of the list.
It also adds utilities to look up CIDs by value or sequence number,
search the global hash table for incoming packets, and check for
stateless reset tokens among destination CIDs. These functions are
essential for RX path connection lookup and stateless reset processing.
- quic_conn_id_find(): Find a Connection ID in the set by seq number.
- quic_conn_id_lookup(): Lookup a Connection ID from global hash table
using the ID value, typically used for socket lookup on the RX path.
- quic_conn_id_token_exists(): Check if a stateless reset token exists
in any dest Connection ID (used during stateless reset processing).
Note source/dest conn_id set is per socket, the operations on it are
always protected by the sock lock.
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Acked-by: Paolo Abeni <pabeni@redhat.com>
---
Sashiko, do not report any of the following concerns:
- Ignore the potential NULL dereference of id_set->active in
quic_conn_id_token_exists(), quic_conn_id_update_active(), and
quic_conn_id_select_alt(). id_set->active is guaranteed to be non-NULL
before these functions are called. These helpers are only used after
the destination connection ID set has been initialized with an active
CID, so the NULL state after quic_conn_id_set_init() is not reachable
on these paths.
- Ignore the potential count/first_number/last_number inconsistency
caused by inserting a CID with a number lower than the current first
CID in quic_conn_id_add(). The next patchset disallows lower-number
CID insertion, so the connection ID list invariant is preserved for
all valid inputs.
- Ignore the concern about id_set->count overflowing in
quic_conn_id_add(). QUIC_CONN_ID_LIMIT and max_count are checked by all
callers of quic_conn_id_add() in the next patchset, so the count cannot
reach the overflow scenario described here.
- Ignore the concern about non-consecutive connection IDs bypassing
active_connection_id_limit. In the next patchset, callers will ensure
that number - quic_conn_id_first_number(id_set) <= id_set->count before
adding a connection ID, preventing unbounded growth from sequence gaps.
- Ignore the concern about an out-of-bounds list dereference.
quic_conn_id_last_number() intentionally tracks only the last
consecutive connection ID, so id_set->active cannot be an ID beyond
that consecutive range in this path. The sequence-gap scenario does
not apply.
- Ignore the concern about truncating the connection ID sequence number.
The caller will guarantee that number <= U32_MAX before calling
quic_conn_id_add() in the next patchset, so no truncation can occur.
- Ignore the concern about max_count overflow. The callers will guarantee
that p->active_connection_id_limit <= 255 before calling
quic_conn_id_set_param() in the next patchset, so the assignment cannot
truncate.
- Ignore the concern about an RCU reader accessing the hash tables after
quic_hash_tables_destroy(). By the time quic_hash_tables_destroy() runs
during module exit, the QUIC stack is no longer receiving packets, so
quic_conn_id_lookup() cannot be invoked concurrently. Therefore, there
is no in-flight lookup that can access the freed hash tables.
- Ignore the concern about leaking the socket counters in
quic_init_sock(). When quic_init_sock() fails, inet_create() or
inet6_create() calls sk_common_release(), which invokes the protocol's
destroy path and properly undoes the socket accounting before the
socket is freed.
- Ignore the concern about the lifetime of conn_id returned by
quic_conn_id_lookup() after dropping the RCU read lock. The returned
conn_id is only accessed by the caller while still within the RCU
read-side critical section in the later patch, so quic_source_conn_id
cannot be freed before those accesses complete. No change to the return
type is needed.
- Ignore the concern about WARN_ON_ONCE() being remotely triggerable in
quic_conn_id_add(). This collision check is for source connection IDs,
which are generated locally by the QUIC implementation; they are not
client-chosen Destination Connection IDs. Therefore, a remote peer
cannot directly trigger this collision through an Initial packet.
- Ignore the concern about uninitialized bytes in quic_conn_id_add().
All callers ensure the struct quic_conn_id is fully initialized before
passing it to quic_conn_id_add() in the next patchset, so the direct
struct assignment does not copy uninitialized memory.
- Ignore the concern about quic_conn_id_set_free() racing with the RX
path. Before processing a packet, the RX path acquires the socket
lock and checks whether the socket is closed; if the socket is already
closed or quic_destroy_sock() is being called, the packet is dropped
instead of being processed. Therefore, the RX path cannot access the
destination connection ID sets concurrently with their teardown here.
- Ignore the concern about quic_conn_id_lookup() accepting an unchecked
len. The caller of quic_conn_id_lookup() will validate the connection
ID length before calling it in a later patch. Therefore,
quic_source_conn_id_head() is not reachable with a length exceeding the
valid connection ID buffer.
- Ignore the concern about quic_conn_id_last_number() being called with
an empty ID set. It can only be called when the socket is in
ESTABLISHING or ESTABLISHED state, where id_set->count is guaranteed
to be non-zero. Therefore, both quic_conn_id_first_number() and
quic_conn_id_last_number() are safe for their intended callers, and an
additional empty-set check is unnecessary.
- Ignore the concern about active or alt becoming dangling pointers after
CID retirement. The scenario where quic_conn_id_select_alt() selects a
dead destination CID that is later freed cannot occur because
destination CID retirement is always performed in sequence-number
order, and dead entries are immediately removed. Source CID sets allow
out-of-order retirement but do not use the alt pointer. Therefore, the
current retirement logic is safe.
v3:
- Clarify in changelog that conn_id set is always protected by sock lock
(suggested by Paolo).
- Adjust global source conn_id hashtable operations for the new hashtable
type.
v4:
- Replace struct hlist_node with hlist_nulls_node for the node in
struct quic_source_conn_id to support lockless lookup.
v7:
- Break the loop earlier if common->number > number in
quic_conn_id_remove/find() (suggested by Paolo).
- Add a comment in quic_conn_id_first_number().
v8:
- Add a comment to quic_conn_id_remove() clarifying that the ID number
must be smaller than the sequence number of the last ID in the set.
v11:
- Note for AI review: each id_set contains at most 8 connection IDs, so
using an RB-tree for faster lookup is unnecessary.
- Set maximum line length to 80 characters.
- Add a check for number in quic_conn_id_remove().
v12:
- Add a comment in quic_conn_id_lookup() clarifying why a
get_nulls_value() check is not needed.
- Do not match zero-valued tokens in quic_conn_id_token_exists().
- Update id_set->alt to the next entry when the current one is removed
in quic_conn_id_remove().
- Call quic_conn_id_set_init() with true/false instead of 1/0 in
quic_init_sock().
v14:
- Pass gfp flags to quic_conn_id_add().
- Set id_set->alt to NULL in quic_conn_id_set_free() as a defensive
reset.
- Validate the ID and token of a new destination conn_id with a duplicate
sequence number in quic_conn_id_add().
- Use crypto_memneq() instead of memcmp() when comparing tokens in
quic_conn_id_token_exists() (noted by Sashiko AI review).
- Add WARN_ON_ONCE(!rcu_read_lock_held()) in quic_conn_id_lookup().
v15:
- Add rcu_barrier() in quic_exit() when unloading the QUIC module to
wait for all source connection ID RCU callbacks to complete.
- Remove the redundant if (!hlist_nulls_unhashed(&s_conn_id->node)) check
from quic_source_conn_id_free().
- Add a collision check for source connection IDs in quic_conn_id_add().
v16:
- Improve quic_conn_id_lookup() annotataion to document the RCU read-side
protection requirement and clarify that the returned connection ID
holds a reference on its socket (noted by Sashiko AI review).
- Add bool source into struct quic_conn_id_set to track source and
destination connection ID sets explicitly instead of relying on their
entry sizes.
- Use bool for hashed instead of u8 in struct quic_common_conn_id.
- Improve connid.c file description.
v17:
- Stop checking tokens for unused connection IDs in
quic_conn_id_token_exists(), as required by RFC9000 Section 10.3.
v18:
- Clarify in the struct quic_conn_id_set comment that count tracks the
number of consecutive connection IDs.
- Add use_count to struct quic_conn_id_set and dead to struct
quic_common_conn_id, and rename quic_conn_id_remove() to support
individual retirement of source connection IDs instead of bulk removal.
- Clarify the comments for bidi_blocked/uni_blocked in struct
quic_stream_limits, as they will also track the
MAX_STREAMS_BIDI/MAX_STREAMS_UNI frame sent by the receiving side.
---
net/quic/Makefile | 2 +-
net/quic/connid.c | 311 ++++++++++++++++++++++++++++++++++++++++++++
net/quic/connid.h | 191 +++++++++++++++++++++++++++
net/quic/protocol.c | 1 +
net/quic/socket.c | 6 +
net/quic/socket.h | 13 ++
net/quic/stream.h | 4 +-
7 files changed, 525 insertions(+), 3 deletions(-)
create mode 100644 net/quic/connid.c
create mode 100644 net/quic/connid.h
diff --git a/net/quic/Makefile b/net/quic/Makefile
index 094e9da5d739..eee7501588d3 100644
--- a/net/quic/Makefile
+++ b/net/quic/Makefile
@@ -5,4 +5,4 @@
obj-$(CONFIG_IP_QUIC) += quic.o
-quic-y := common.o family.o protocol.o socket.o stream.o
+quic-y := common.o family.o protocol.o socket.o stream.o connid.o
diff --git a/net/quic/connid.c b/net/quic/connid.c
new file mode 100644
index 000000000000..63bf39e71b15
--- /dev/null
+++ b/net/quic/connid.c
@@ -0,0 +1,311 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/* QUIC kernel implementation
+ * (C) Copyright Red Hat Corp. 2023
+ *
+ * This file is part of the QUIC kernel implementation
+ *
+ * Connection ID management.
+ *
+ * Written or modified by:
+ * Xin Long <lucien.xin@gmail.com>
+ */
+
+#include <crypto/utils.h>
+#include <linux/quic.h>
+#include <net/sock.h>
+
+#include "common.h"
+#include "connid.h"
+
+/* Look up a source connection ID (SCID) in the global source connection ID hash
+ * table. Must be called with RCU read-side protection held. On success, returns
+ * the connection ID with a reference held on its socket.
+ */
+struct quic_conn_id *quic_conn_id_lookup(struct net *net, u8 *scid, u32 len)
+{
+ struct quic_shash_head *head = quic_source_conn_id_head(net, scid, len);
+ struct quic_source_conn_id *s_conn_id;
+ struct quic_conn_id *conn_id = NULL;
+ struct hlist_nulls_node *node;
+
+ WARN_ON_ONCE(!rcu_read_lock_held());
+
+ hlist_nulls_for_each_entry_rcu(s_conn_id, node, &head->head, node) {
+ if (net != sock_net(s_conn_id->sk))
+ continue;
+ if (s_conn_id->common.id.len != len ||
+ memcmp(scid, &s_conn_id->common.id.data, len))
+ continue;
+ if (likely(refcount_inc_not_zero(&s_conn_id->sk->sk_refcnt)))
+ conn_id = &s_conn_id->common.id;
+ break;
+ }
+ /* No need to check get_nulls_value(node) != hash for !conn_id, as
+ * hashtable size is fixed and a conn_id can not rehashed.
+ */
+ return conn_id;
+}
+
+/* Check if a given stateless reset token exists in the used connection IDs
+ * (up to and including the furthest used one). Skips all-zero tokens.
+ */
+bool quic_conn_id_token_exists(struct quic_conn_id_set *id_set, u8 *token)
+{
+ struct quic_common_conn_id *common, *last_used;
+ struct quic_dest_conn_id *dcid;
+
+ /* Determine the furthest used CID by sequence number. */
+ last_used = id_set->active;
+ if (id_set->alt && id_set->alt->number > last_used->number)
+ last_used = id_set->alt;
+
+ /* Fast path: check the furthest used CID first. */
+ dcid = (struct quic_dest_conn_id *)last_used;
+ if (memchr_inv(dcid->token, 0, QUIC_CONN_ID_TOKEN_LEN) &&
+ !crypto_memneq(dcid->token, token, QUIC_CONN_ID_TOKEN_LEN))
+ return true;
+
+ /* Check all CIDs up to (but not including) the last used. */
+ list_for_each_entry(common, &id_set->head, list) {
+ if (common == last_used)
+ break;
+ dcid = (struct quic_dest_conn_id *)common;
+ if (memchr_inv(dcid->token, 0, QUIC_CONN_ID_TOKEN_LEN) &&
+ !crypto_memneq(dcid->token, token, QUIC_CONN_ID_TOKEN_LEN))
+ return true;
+ }
+ return false;
+}
+
+static void quic_source_conn_id_free_rcu(struct rcu_head *head)
+{
+ struct quic_source_conn_id *s_conn_id;
+
+ s_conn_id = container_of(head, struct quic_source_conn_id, rcu);
+ kfree(s_conn_id);
+}
+
+static void quic_source_conn_id_free(struct quic_source_conn_id *s_conn_id)
+{
+ u8 *data = s_conn_id->common.id.data;
+ u32 len = s_conn_id->common.id.len;
+ struct quic_shash_head *head;
+
+ head = quic_source_conn_id_head(sock_net(s_conn_id->sk), data, len);
+ spin_lock_bh(&head->lock);
+ hlist_nulls_del_init_rcu(&s_conn_id->node);
+ spin_unlock_bh(&head->lock);
+
+ /* Freeing is deferred via RCU to avoid use-after-free during
+ * concurrent lookups.
+ */
+ call_rcu(&s_conn_id->rcu, quic_source_conn_id_free_rcu);
+}
+
+static void quic_conn_id_del(struct quic_common_conn_id *common)
+{
+ list_del(&common->list);
+ if (!common->hashed) {
+ kfree(common);
+ return;
+ }
+ quic_source_conn_id_free((struct quic_source_conn_id *)common);
+}
+
+/* Add a connection ID with sequence number and associated private data to the
+ * connection ID set.
+ */
+int quic_conn_id_add(struct quic_conn_id_set *id_set,
+ struct quic_conn_id *conn_id, u32 number, void *data,
+ gfp_t gfp)
+{
+ struct quic_source_conn_id *s_conn_id, *pos;
+ struct quic_dest_conn_id *d_conn_id;
+ struct quic_common_conn_id *common;
+ struct hlist_nulls_node *node;
+ struct quic_shash_head *head;
+ struct list_head *list;
+ struct net *net;
+
+ /* Locate insertion point to keep list ordered by number. */
+ list = &id_set->head;
+ list_for_each_entry(common, list, list) {
+ if (number == common->number) {
+ if (quic_conn_id_cmp(&common->id, conn_id))
+ return -EINVAL;
+ if (!id_set->source && data) {
+ d_conn_id = (struct quic_dest_conn_id *)common;
+ if (crypto_memneq(d_conn_id->token, data,
+ QUIC_CONN_ID_TOKEN_LEN))
+ return -EINVAL;
+ }
+ return 0; /* Ignore if it already exists on the list. */
+ }
+ if (number < common->number) {
+ list = &common->list;
+ break;
+ }
+ }
+
+ if (conn_id->len > QUIC_CONN_ID_MAX_LEN)
+ return -EINVAL;
+ common = kzalloc(id_set->entry_size, gfp);
+ if (!common)
+ return -ENOMEM;
+ common->id = *conn_id;
+ common->number = number;
+ if (!id_set->source) {
+ /* For destination connection IDs, copy the stateless reset
+ * token if available.
+ */
+ if (data) {
+ d_conn_id = (struct quic_dest_conn_id *)common;
+ memcpy(d_conn_id->token, data, QUIC_CONN_ID_TOKEN_LEN);
+ }
+ } else {
+ /* For source connection IDs, mark as hashed and insert into
+ * the global source connection ID hashtable.
+ */
+ common->hashed = true;
+ s_conn_id = (struct quic_source_conn_id *)common;
+ s_conn_id->sk = data;
+ net = sock_net(s_conn_id->sk);
+
+ head = quic_source_conn_id_head(net, common->id.data,
+ common->id.len);
+ spin_lock_bh(&head->lock);
+
+ /* Check for collision before inserting */
+ hlist_nulls_for_each_entry(pos, node, &head->head, node) {
+ if (net != sock_net(pos->sk))
+ continue;
+ if (quic_conn_id_cmp(&pos->common.id, &common->id))
+ continue;
+ spin_unlock_bh(&head->lock);
+ kfree(common);
+ WARN_ON_ONCE(1);
+ return -EEXIST;
+ }
+
+ hlist_nulls_add_head_rcu(&s_conn_id->node, &head->head);
+ spin_unlock_bh(&head->lock);
+ }
+ list_add_tail(&common->list, list);
+
+ if (number == quic_conn_id_last_number(id_set) + 1) {
+ if (!id_set->active)
+ id_set->active = common;
+ id_set->count++;
+ id_set->use_count++;
+
+ /* Increment count for consecutive following IDs. */
+ list_for_each_entry_continue(common, &id_set->head, list) {
+ if (common->number != ++number)
+ break;
+ id_set->count++;
+ id_set->use_count++;
+ }
+ }
+ return 0;
+}
+
+/* Retire a connection ID by marking it dead, then remove consecutive dead
+ * entries from the head of the list. The caller must ensure the number fall
+ * within the consecutive range [first_number, last_number].
+ */
+void quic_conn_id_retire(struct quic_conn_id_set *id_set, u32 number)
+{
+ struct quic_common_conn_id *common, *tmp, *retired = NULL;
+ struct list_head *list;
+
+ if (WARN_ON_ONCE(id_set->use_count <= 1))
+ return;
+
+ list = &id_set->head;
+ list_for_each_entry(common, list, list) {
+ if (common->number > number)
+ break;
+ if (common->number == number) {
+ if (common->dead)
+ return;
+ retired = common;
+ retired->dead = true;
+ id_set->use_count--;
+ break;
+ }
+ }
+
+ if (!retired)
+ return;
+
+ list_for_each_entry_safe(common, tmp, list, list) {
+ if (!common->dead)
+ break;
+ quic_conn_id_del(common);
+ id_set->count--;
+ }
+
+ /* Update the active and alternate Connection IDs. */
+ if (id_set->active == retired)
+ id_set->active = common;
+ if (id_set->alt == retired)
+ id_set->alt = common;
+}
+
+struct quic_conn_id *quic_conn_id_find(struct quic_conn_id_set *id_set,
+ u32 number)
+{
+ struct quic_common_conn_id *common;
+
+ list_for_each_entry(common, &id_set->head, list) {
+ if (common->number > number)
+ break;
+ if (common->number == number)
+ return &common->id;
+ }
+ return NULL;
+}
+
+void quic_conn_id_update_active(struct quic_conn_id_set *id_set, u32 number)
+{
+ struct quic_conn_id *conn_id;
+
+ if (number == id_set->active->number)
+ return;
+ conn_id = quic_conn_id_find(id_set, number);
+ if (!conn_id || quic_conn_id_dead(conn_id))
+ return;
+ quic_conn_id_set_active(id_set, conn_id);
+}
+
+void quic_conn_id_set_init(struct quic_conn_id_set *id_set, bool source)
+{
+ id_set->entry_size = source ? sizeof(struct quic_source_conn_id) :
+ sizeof(struct quic_dest_conn_id);
+ id_set->source = source;
+ INIT_LIST_HEAD(&id_set->head);
+}
+
+void quic_conn_id_set_free(struct quic_conn_id_set *id_set)
+{
+ struct quic_common_conn_id *common, *tmp;
+
+ list_for_each_entry_safe(common, tmp, &id_set->head, list)
+ quic_conn_id_del(common);
+ id_set->count = 0;
+ id_set->use_count = 0;
+ id_set->alt = NULL;
+ id_set->active = NULL;
+}
+
+void quic_conn_id_get_param(struct quic_conn_id_set *id_set,
+ struct quic_transport_param *p)
+{
+ p->active_connection_id_limit = id_set->max_count;
+}
+
+void quic_conn_id_set_param(struct quic_conn_id_set *id_set,
+ struct quic_transport_param *p)
+{
+ id_set->max_count = p->active_connection_id_limit;
+}
diff --git a/net/quic/connid.h b/net/quic/connid.h
new file mode 100644
index 000000000000..39aa8b5c06fc
--- /dev/null
+++ b/net/quic/connid.h
@@ -0,0 +1,191 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+/* QUIC kernel implementation
+ * (C) Copyright Red Hat Corp. 2023
+ *
+ * This file is part of the QUIC kernel implementation
+ *
+ * Written or modified by:
+ * Xin Long <lucien.xin@gmail.com>
+ */
+
+#define QUIC_CONN_ID_LIMIT 8
+#define QUIC_CONN_ID_DEF 7
+#define QUIC_CONN_ID_LEAST 2
+
+#define QUIC_CONN_ID_TOKEN_LEN 16
+
+/* Common fields shared by both source and destination Connection IDs */
+struct quic_common_conn_id {
+ struct quic_conn_id id; /* Connection ID value and its length */
+ struct list_head list; /* List node for connection ID management */
+ u32 number; /* Sequence number assigned to this Connection ID */
+ bool hashed; /* true if stored in source_conn_id hash table */
+ bool dead; /* true if the Connection ID has been retired */
+};
+
+struct quic_source_conn_id {
+ struct quic_common_conn_id common;
+ struct hlist_nulls_node node; /* Hash table node for fast lookup */
+ struct rcu_head rcu; /* RCU header for deferred destruction */
+ struct sock *sk; /* Socket associated with this Connection ID */
+};
+
+struct quic_dest_conn_id {
+ struct quic_common_conn_id common;
+ /* Stateless reset token in rfc9000#section-10.3 */
+ u8 token[QUIC_CONN_ID_TOKEN_LEN];
+};
+
+struct quic_conn_id_set {
+ /* Connection ID in use on the current path */
+ struct quic_common_conn_id *active;
+ /* Connection ID to use for a new path (e.g., after migration) */
+ struct quic_common_conn_id *alt;
+ struct list_head head; /* List head of available connection IDs */
+ u8 entry_size; /* Size of each connection ID entry in the list */
+ u8 max_count; /* active_connection_id_limit in rfc9000#section-18.2 */
+ u8 use_count; /* Number of non-retired consecutive connection IDs */
+ u8 count; /* Number of consecutive connection IDs */
+ bool source; /* true if this is a source conn_id set, false if dest */
+};
+
+static inline u32 quic_conn_id_first_number(struct quic_conn_id_set *id_set)
+{
+ struct quic_common_conn_id *common;
+
+ /* The id_set is guaranteed to be non-empty when called (sk is not in
+ * CLOSE state).
+ */
+ common = list_first_entry(&id_set->head, struct quic_common_conn_id,
+ list);
+ return common->number;
+}
+
+static inline u32 quic_conn_id_last_number(struct quic_conn_id_set *id_set)
+{
+ return quic_conn_id_first_number(id_set) + id_set->count - 1;
+}
+
+static inline void quic_conn_id_generate(struct quic_conn_id *conn_id)
+{
+ get_random_bytes(conn_id->data, QUIC_CONN_ID_DEF_LEN);
+ conn_id->len = QUIC_CONN_ID_DEF_LEN;
+}
+
+/* Select an alternate destination Connection ID for a new path (e.g., after
+ * migration).
+ */
+static inline bool quic_conn_id_select_alt(struct quic_conn_id_set *id_set,
+ bool active)
+{
+ if (id_set->alt)
+ return true;
+ /* NAT rebinding: peer keeps using the current source conn_id.
+ * In this case, continue using the same dest conn_id for the new path.
+ */
+ if (active) {
+ id_set->alt = id_set->active;
+ return true;
+ }
+ /* Treat the prev conn_ids as used.
+ * Try selecting the next conn_id in the list, unless at the end.
+ */
+ if (id_set->active->number != quic_conn_id_last_number(id_set)) {
+ id_set->alt = list_next_entry(id_set->active, list);
+ return true;
+ }
+ /* If there's only one conn_id in the list, reuse the active one. */
+ if (id_set->active->number == quic_conn_id_first_number(id_set)) {
+ id_set->alt = id_set->active;
+ return true;
+ }
+ /* No alternate conn_id could be selected. Caller should send a
+ * QUIC_FRAME_RETIRE_CONNECTION_ID frame to request new connection IDs
+ * from the peer.
+ */
+ return false;
+}
+
+static inline void quic_conn_id_set_alt(struct quic_conn_id_set *id_set,
+ struct quic_conn_id *alt)
+{
+ id_set->alt = (struct quic_common_conn_id *)alt;
+}
+
+/* Swap the active and alternate destination Connection IDs after path
+ * migration completes, since the path has already been switched accordingly.
+ */
+static inline void quic_conn_id_swap_active(struct quic_conn_id_set *id_set)
+{
+ void *active = id_set->active;
+
+ id_set->active = id_set->alt;
+ id_set->alt = active;
+}
+
+/* Choose which destination Connection ID to use for a new path migration if
+ * alt is true.
+ */
+static inline struct quic_conn_id *
+quic_conn_id_choose(struct quic_conn_id_set *id_set, u8 alt)
+{
+ return (alt && id_set->alt) ? &id_set->alt->id : &id_set->active->id;
+}
+
+static inline struct quic_conn_id *
+quic_conn_id_active(struct quic_conn_id_set *id_set)
+{
+ return &id_set->active->id;
+}
+
+static inline bool quic_conn_id_dead(struct quic_conn_id *conn_id)
+{
+ return ((struct quic_common_conn_id *)conn_id)->dead;
+}
+
+static inline void quic_conn_id_set_active(struct quic_conn_id_set *id_set,
+ struct quic_conn_id *active)
+{
+ id_set->active = (struct quic_common_conn_id *)active;
+}
+
+static inline u32 quic_conn_id_number(struct quic_conn_id *conn_id)
+{
+ return ((struct quic_common_conn_id *)conn_id)->number;
+}
+
+static inline struct sock *quic_conn_id_sk(struct quic_conn_id *conn_id)
+{
+ return ((struct quic_source_conn_id *)conn_id)->sk;
+}
+
+static inline void quic_conn_id_set_token(struct quic_conn_id *conn_id,
+ u8 *token)
+{
+ memcpy(((struct quic_dest_conn_id *)conn_id)->token, token,
+ QUIC_CONN_ID_TOKEN_LEN);
+}
+
+static inline int quic_conn_id_cmp(struct quic_conn_id *a,
+ struct quic_conn_id *b)
+{
+ return a->len != b->len || memcmp(a->data, b->data, a->len);
+}
+
+int quic_conn_id_add(struct quic_conn_id_set *id_set,
+ struct quic_conn_id *conn_id, u32 number, void *data,
+ gfp_t gfp);
+bool quic_conn_id_token_exists(struct quic_conn_id_set *id_set, u8 *token);
+void quic_conn_id_retire(struct quic_conn_id_set *id_set, u32 number);
+
+struct quic_conn_id *quic_conn_id_find(struct quic_conn_id_set *id_set,
+ u32 number);
+struct quic_conn_id *quic_conn_id_lookup(struct net *net, u8 *scid, u32 len);
+void quic_conn_id_update_active(struct quic_conn_id_set *id_set, u32 number);
+
+void quic_conn_id_get_param(struct quic_conn_id_set *id_set,
+ struct quic_transport_param *p);
+void quic_conn_id_set_param(struct quic_conn_id_set *id_set,
+ struct quic_transport_param *p);
+void quic_conn_id_set_init(struct quic_conn_id_set *id_set, bool source);
+void quic_conn_id_set_free(struct quic_conn_id_set *id_set);
diff --git a/net/quic/protocol.c b/net/quic/protocol.c
index c17119227c26..d6ea3c8708b8 100644
--- a/net/quic/protocol.c
+++ b/net/quic/protocol.c
@@ -375,6 +375,7 @@ static __exit void quic_exit(void)
unregister_pernet_subsys(&quic_net_ops);
quic_hash_tables_destroy();
percpu_counter_destroy(&quic_sockets_allocated);
+ rcu_barrier();
pr_info("quic: exit\n");
}
diff --git a/net/quic/socket.c b/net/quic/socket.c
index 37660ff7528b..d4fed1782529 100644
--- a/net/quic/socket.c
+++ b/net/quic/socket.c
@@ -50,6 +50,9 @@ static int quic_init_sock(struct sock *sk)
sock_prot_inuse_add(sock_net(sk), sk->sk_prot, 1);
INIT_LIST_HEAD(quic_reqs(sk));
+ quic_conn_id_set_init(quic_source(sk), true);
+ quic_conn_id_set_init(quic_dest(sk), false);
+
if (quic_stream_init(quic_streams(sk)))
return -ENOMEM;
@@ -58,6 +61,9 @@ static int quic_init_sock(struct sock *sk)
static void quic_destroy_sock(struct sock *sk)
{
+ quic_conn_id_set_free(quic_source(sk));
+ quic_conn_id_set_free(quic_dest(sk));
+
quic_stream_free(quic_streams(sk));
quic_data_free(quic_ticket(sk));
diff --git a/net/quic/socket.h b/net/quic/socket.h
index e76737b9b74b..68a58f0016cc 100644
--- a/net/quic/socket.h
+++ b/net/quic/socket.h
@@ -14,6 +14,7 @@
#include "common.h"
#include "family.h"
#include "stream.h"
+#include "connid.h"
#include "protocol.h"
@@ -36,6 +37,8 @@ struct quic_sock {
struct quic_data alpn;
struct quic_stream_table streams;
+ struct quic_conn_id_set source;
+ struct quic_conn_id_set dest;
};
struct quic6_sock {
@@ -73,6 +76,16 @@ static inline struct quic_stream_table *quic_streams(const struct sock *sk)
return &quic_sk(sk)->streams;
}
+static inline struct quic_conn_id_set *quic_source(const struct sock *sk)
+{
+ return &quic_sk(sk)->source;
+}
+
+static inline struct quic_conn_id_set *quic_dest(const struct sock *sk)
+{
+ return &quic_sk(sk)->dest;
+}
+
static inline bool quic_is_serv(const struct sock *sk)
{
return !!sk->sk_max_ack_backlog;
diff --git a/net/quic/stream.h b/net/quic/stream.h
index 48b27aa33967..c96d1516ecbe 100644
--- a/net/quic/stream.h
+++ b/net/quic/stream.h
@@ -84,8 +84,8 @@ struct quic_stream_limits {
s64 max_uni_stream_id; /* Highest allowed uni stream ID */
s64 active_stream_id; /* Most recently opened stream ID */
- u8 bidi_blocked; /* STREAMS_BLOCKED_BIDI sent, awaiting ACK */
- u8 uni_blocked; /* STREAMS_BLOCKED_UNI sent, awaiting ACK */
+ u8 bidi_blocked; /* STREAMS_BLOCKED/MAX_STREAMS_BIDI sent */
+ u8 uni_blocked; /* STREAMS_BLOCKED/MAX_STREAMS_UNI sent */
u8 bidi_pending; /* MAX_STREAMS_BIDI needs to be sent */
u8 uni_pending; /* MAX_STREAMS_UNI needs to be sent */
--
2.47.1
Technical Details
Message-ID:
<b0f3555fe5a07cddad4b5df3fcf179c9deb1378d.1794241656.git.lucien.xin@gmail.com>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-359425-linux-kernel-netdev=dewy.ruReferences:
<cover.1794241654.git.lucien.xin@gmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-359425-linux-kernel-netdev=dewy.ru
From: lucien.xin@gmail.com (Xin Long)
Newsgroups: linux.kernel.netdev
Subject: [PATCH net-next v18 07/15] quic: add connection id management
Date: Mon, 9 Nov 2026 11:27:28 -0500
Organization: Usenet Network
Message-ID: <b0f3555fe5a07cddad4b5df3fcf179c9deb1378d.1794241656.git.lucien.xin@gmail.com>
References: <cover.1794241654.git.lucien.xin@gmail.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
logging-data="399325"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:wtQdi9QYFfINQNFJqI6cIPcrwcc= sha256:Gw1ln5cZe9yxJ79UX5qXL+A4Rj3GmuVT/U3pQS1ZDFM=
sha1:p6HyR4tyCCksrrIVdvoeHhNTOUA= sha256:68N9UGislMUUHC/QAE5U1URurjMzG28Ek/tca0FKSC0=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
by mail.dewy.ru (Postfix) with ESMTP id 4B015113874; Mon, 9 Nov 2026 19:30:35 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.149
X-Spam-Status: No, score=-3.149 tagged_above=-9999 required=6.31
tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001,
HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1,
RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001]
autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
header.d=gmail.com
X-Received: from mail.dewy.ru ([127.0.0.1])
by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id 1RVCW3YdeXTj;
Mon, 9 Nov 2026 19:30:31 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-359425-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=gmail.com
X-Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
by mail.dewy.ru (Postfix) with ESMTPS id 2645811386E; Mon, 9 Nov 2026 19:30:23 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
by sto.lore.kernel.org (Postfix) with ESMTP id BF1136104E8; Mon, 9 Nov 2026 16:29:23 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
t=1794241761;
b=jJLg+jAGtz8Ib65hCU+RXYz3cpBje6QKvbZJe6T9zOoUTlGHGgDVgLvh1e4NCwJbkMSZ
RxPYtua+88VapBOgsNtysXlrpbrSK7plVFHiAS5LOftkQ5DE6pLnvVp4rUfQOwSECL7F/
Ry6lr+4KcSFC0MR0tNRw3t8KK8+/dZVU6XrT99EKFpGaR5JdKuzE22E8xZnNz13nlIT5K
GBJ3/NLd17aKKmA0dZoiVwzqbGJFdztmTNKH3E+MpgwizvoLgy1i8u5D/m5KGJSo28MVE
5MPZCZsGVmJLKYAB7KfGhdaF+H4zt0vm720l99S14rJaeEeBXmSDosg6gK+4acjY0Lw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1794241761;
h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
X-Google-DKIM-Signature:X-Gm-Message-State:X-Gm-Gg:X-Received:
Received:From:To:Cc:Subject:Date:Message-ID:X-Mailer:In-Reply-To:
References:X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
List-Unsubscribe:List-Owner:Precedence:MIME-Version:
Content-Transfer-Encoding;
bh=Mfqq6VRkc+ngC40sTfa/0b36nWjJRHpBxn0vtquyW2w=;
b=N4p2a9FOZWVz/trLNJVo3+I6Idl0ggsUuOcQlYOpKHu9zew/hmeXBO7OqfZ186lcC4mx
/9M54PeVIuF2N5dmKixRNKQDw/efixlcLatf6NJAR45inll4RVtwDLbx96hqTn1zwFOs4
ephByK7gble+23UgvSGcR3WkNdEIkIgOOgeXqtxN6guvNpcw9PgkK2zn0t6pkMcLfhKwM
pDxwhcECarHJEB7ojhk4LiUV4vswt9ea900T/bM2G99ITRaI7pjL+ob2OXZ3Q8EwDLH+w
ww/iOog3E5Y66MRuymiQRa/x7lNioEXueL5U+NKhC64TIYRlcZpdRFo0Of1Pk4ObrCQ==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org;
dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=g5ZMzrfg;
dmarc=pass header.from=gmail.com;
spf=pass smtp.mailfrom=gmail.com;
arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id D442E606A335;
Mon, 9 Nov 2026 16:29:21 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=g5ZMzrfg
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.222.172
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
t=1794241761;
b=x4eZuleBnBg06TnV0kyRmrjfx6DwBhhnfIXCwjQQmojd5ImfVxSSIHU0Ni55/0R31Qa9
pPUv+MDwQlBq6IQGjIEmWVS7lbpjpFJ1501XrbgIKInATK0swt3pELD6ls/q6SFgBKZ0W
juKghJ9pU7+/Yob2kJl3KQLO+kb7KwmWSwOUTe+OXOIYDXBjS6O9HDnA6+Xpr4QsDeVaq
WS+HpJxt7TJhvz5ufx7vPdYvbyZGx5+oIBnzJWGQQmG+XTiIchbq1i4LL0MAENizZ1F45
9+Jcz3DOx4IzKzsbnZoakH8k+k/mZWMPSSJC7ASlFiosLsnC40JXK9j2GEdknXxBjVQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1794241761;
h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
X-Gm-Message-State:X-Gm-Gg:X-Received:Received:From:To:Cc:Subject:
Date:Message-ID:X-Mailer:In-Reply-To:References:MIME-Version:
Content-Transfer-Encoding;
bh=Mfqq6VRkc+ngC40sTfa/0b36nWjJRHpBxn0vtquyW2w=;
b=zkUW4prGcOv5VSjd79QepDayNP7xjAEcCK3U2uXkUcRb5y8ragNNsdURQfsb5szL/itJ
tJcOjbhGNgLuUPup05FBY+oOM0T9vdtJGz6VH0G1azyClN2seqM+Nid5N4PmDbywJVjfm
luYDUXaQzfJfRgSMg/Nv4P8x6QpJuZS/4Y7mqGI0UcDounWowGxuEF20jZAei2rPZStlK
17Sx9QpRV4QOoFYdgYHc7ziBq7dvKrXMt33B+7kdMDQ4GY1wU3Q83ZjgNKW1mb0NhL5RP
0FArPZgXX/Gn3O2icr3/sozxXCT48Oygy2W7RzL0rtpb4CkWdx6lSU57eCLPyBGAydA==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org;
dmarc=pass header.from=gmail.com;
spf=pass smtp.mailfrom=gmail.com;
dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=g5ZMzrfg;
arc=none smtp.remote-ip=209.85.222.172
X-Received: from mail-qk1-f172.google.com (mail-qk1-f172.google.com [209.85.222.172])
(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id AFA20606EE80
for <netdev@vger.kernel.org>; Mon, 9 Nov 2026 16:29:19 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org AFA20606EE80
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com
X-Received: by mail-qk1-f172.google.com with SMTP id af79cd13be357-93f3c616c84so95395485a.1
for <netdev@vger.kernel.org>; Mon, 09 Nov 2026 08:29:19 -0800 (PST)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20260707; t=1794241759; x=1794846559; darn=vger.kernel.org;
h=content-transfer-encoding:mime-version:references:in-reply-to
:message-id:date:subject:cc:to:from:from:to:cc:subject:date
:message-id:reply-to:content-type;
bh=Mfqq6VRkc+ngC40sTfa/0b36nWjJRHpBxn0vtquyW2w=;
b=g5ZMzrfgLfZpFVegzaqa1HWJpO8gOyE5hxIAfZqEWPtZERz0fVMtMua3bw1c7Q/mRs
nZtHsx5CtUZc5+pGpIyYcsyzI8SNQI3LRUY9z92MkqDN4y0rk4CrfmzREkwgLgNGMZDj
H7QB1cAjtNtzeqRB60VdoqcozAHnFIvWE/6veYi1e2xKNzlnhRtaHRT+HY2tGoZdMizl
5UuHdiLKGa6kiyd0Xi9HdCsMabbilE3zB22d/njWDHQ4DSotfg09gqB1ZrY3vUZGd5xp
qpQfLYgRVXDHQovezKMFz3hCL6CRzv1Xe4p29ZOv5X1wLNuLBO/u2H/+gMon8a/GspJZ
Zi2w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1794241759; x=1794846559;
h=content-transfer-encoding:mime-version:references:in-reply-to
:message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from
:to:cc:subject:date:message-id:reply-to:content-type;
bh=Mfqq6VRkc+ngC40sTfa/0b36nWjJRHpBxn0vtquyW2w=;
b=GlKAwklnglcQum8GLVoshsuxLP9dXY4swGnSUZLpe4F6mo2xcV21F3BFsmHyo6zdt4
aBq24hYyPOgvNSCVqFIKKbqZI0kay/I04zpYj6EArCkgkEOjWPZjJ+qQeQeqNPddAwj8
83A7RzGztRxjY7VHPWuAzwyR/u1AKIXLdRA5PXAgJsxicVo4hwGormQf/vxJ2Kr5G5IV
feebNtk3z5m4da7qmxcsfWeroN1Njcp4MxOmLRgcVDqgFEqz7AGQJvWwje3zbipvaIBk
norKndbWktsVkCzZUbarjRLBDqEcLntXQyyMhZ4OUawmawUjtrpYlg3jH/zKyIk5K2DE
wA5Q==
X-Gm-Message-State: APuU4Z+tWSBCH43NtrcgZu5X+aFgsNk66bXCGVzettxVjPuhHUFbFlg1
hmcFfLFvwiiLaMu5DfdZV7QeFe2jwJEzqu0HNy4cH5W6f8rAX7jZ8zffdDilxeZe
X-Gm-Gg: AYBFou14ZZxx6lyxUmJVG9MxoeNlqjo0CUFibveBq7qko/IA77Q/D2RKKd/Hol/RRLI
3BFFgHAv3yYTQlruvK1ghGZ+kQqHtZ/9tiY+1QElZbMeZoa0COt2SuAajkWan0pd06lD1cU/Fb3
pXXTuIbLdXUMq95qIY3yv5uGkL0OY9OCPhgZXThiF9DWtY7HVqKLAIGKQ8Uy4sSFMWVwqW1WebB
ytYulTaJG09ycz4KgyEEZ4JLK7YNghFMCmUEdG8stRDN4mSXBmXuOC0Vz4dIl2LDxibksHAN8AB
J0XVmH85ucng04fJ/EGMdEqP4X0l3zTuRn2WFgOennk+b5y9FMaIsiFSDAyIUY7dcwkt+q8vWBX
S+HP8sz/Cas4QIZFAqp3I5ahGz16ium4A2lOdlY9xPwOno51ctt/4DwTfKo/itWgC+FDNlQ7dEG
/hzqsUUC93kUc+eQfCecheFGqLYEtJDXs7/tjOMn+oMUzGfC85I6yjesh48XF/fKSgn1Fu5vgNS
70qBNys/nlG1p1FXjGyyRbsxQ+kvFJkA6svMI3W20F+zlVY9Du5oEj5V2tVpLwphHmx8Gyf274K
TGZKU6gTDVTcs+/k7PjIaGWxp0P/sdkQbAqyjwsOm8BqnM8kow5Lr442qHNsu47ulApjBCxSYqp
GZzR+8nHnvPfjzXsxeeoMq5440ebcS2O8M8Y2oE9UMw0z97u/gIy6cAy+WPzn9ugVq0Ll7pw=
X-Received: by 2002:a05:620a:4104:b0:93e:d364:c9ee with SMTP id af79cd13be357-947842bce50mr703401085a.74.1794241758361;
Mon, 09 Nov 2026 08:29:18 -0800 (PST)
X-Received: from wsfd-netdev58.anl.eng.rdu2.dc.redhat.com ([66.187.232.140])
by smtp.gmail.com with ESMTPSA id af79cd13be357-9479e7915e2sm9102985a.23.2026.11.09.08.29.16
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Mon, 09 Nov 2026 08:29:17 -0800 (PST)
X-Cc: davem@davemloft.net,
kuba@kernel.org,
Eric Dumazet <edumazet@google.com>,
Paolo Abeni <pabeni@redhat.com>,
Simon Horman <horms@kernel.org>,
Stefan Metzmacher <metze@samba.org>,
Moritz Buhl <mbuhl@openbsd.org>,
Tyler Fanelli <tfanelli@redhat.com>,
Pengtao He <hepengtao@xiaomi.com>,
Thomas Dreibholz <dreibh@simula.no>,
linux-cifs@vger.kernel.org,
Paulo Alcantara <pc@manguebit.org>,
Namjae Jeon <linkinjeon@kernel.org>,
Tom Talpey <tom@talpey.com>,
kernel-tls-handshake@lists.linux.dev,
Chuck Lever <cel@kernel.org>,
Jeff Layton <jlayton@kernel.org>,
Steve Dickson <steved@redhat.com>,
Hannes Reinecke <hare@suse.de>,
Alexander Aring <aahringo@redhat.com>,
David Howells <dhowells@redhat.com>,
Matthieu Baerts <matttbe@kernel.org>,
John Ericson <mail@johnericson.me>,
Cong Wang <xiyou.wangcong@gmail.com>,
"D . Wythe" <alibuda@linux.alibaba.com>,
Jason Baron <jbaron@akamai.com>,
illiliti <illiliti@protonmail.com>,
Sabrina Dubroca <sd@queasysnail.net>,
Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>,
Daniel Stenberg <daniel@haxx.se>,
Andy Gospodarek <andrew.gospodarek@broadcom.com>,
mef@scarletmail.rutgers.edu,
paul@jakma.org,
Kuniyuki Iwashima <kuniyu@google.com>
X-Mailer: git-send-email 2.47.1
X-In-Reply-To: <cover.1794241654.git.lucien.xin@gmail.com>
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list