{"id":2215683,"url":"http://patchwork.ozlabs.org/api/patches/2215683/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-cifs-client/patch/e5cb44e7a6ba57b63a3b13f853947ac88ec97335.1774410440.git.lucien.xin@gmail.com/","project":{"id":12,"url":"http://patchwork.ozlabs.org/api/projects/12/?format=json","name":"Linux CIFS Client","link_name":"linux-cifs-client","list_id":"linux-cifs.vger.kernel.org","list_email":"linux-cifs@vger.kernel.org","web_url":"","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<e5cb44e7a6ba57b63a3b13f853947ac88ec97335.1774410440.git.lucien.xin@gmail.com>","list_archive_url":null,"date":"2026-03-25T03:47:06","name":"[net-next,v11,01/15] net: define IPPROTO_QUIC and SOL_QUIC constants","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"f3231dbfc27ab8d0e2ec0e20224b408ae5a745da","submitter":{"id":61073,"url":"http://patchwork.ozlabs.org/api/people/61073/?format=json","name":"Xin Long","email":"lucien.xin@gmail.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/linux-cifs-client/patch/e5cb44e7a6ba57b63a3b13f853947ac88ec97335.1774410440.git.lucien.xin@gmail.com/mbox/","series":[{"id":497380,"url":"http://patchwork.ozlabs.org/api/series/497380/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-cifs-client/list/?series=497380","date":"2026-03-25T03:47:06","name":"net: introduce QUIC infrastructure and core subcomponents","version":11,"mbox":"http://patchwork.ozlabs.org/series/497380/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2215683/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2215683/checks/","tags":{},"related":[],"headers":{"Return-Path":"\n <linux-cifs+bounces-10503-incoming=patchwork.ozlabs.org@vger.kernel.org>","X-Original-To":["incoming@patchwork.ozlabs.org","linux-cifs@vger.kernel.org"],"Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=V0Kf0gSe;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c09:e001:a7::12fc:5321; helo=sto.lore.kernel.org;\n envelope-from=linux-cifs+bounces-10503-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)","smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com\n header.b=\"V0Kf0gSe\"","smtp.subspace.kernel.org;\n arc=none smtp.client-ip=209.85.160.169","smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=gmail.com","smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=gmail.com"],"Received":["from sto.lore.kernel.org (sto.lore.kernel.org\n [IPv6:2600:3c09:e001:a7::12fc:5321])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fgXwJ6RgQz1xy3\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 25 Mar 2026 14:49:36 +1100 (AEDT)","from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sto.lore.kernel.org (Postfix) with ESMTP id 8327230553D8\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 25 Mar 2026 03:49:30 +0000 (UTC)","from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id C3E6A2DF134;\n\tWed, 25 Mar 2026 03:49:26 +0000 (UTC)","from mail-qt1-f169.google.com (mail-qt1-f169.google.com\n [209.85.160.169])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id C275D2DFA46\n\tfor <linux-cifs@vger.kernel.org>; Wed, 25 Mar 2026 03:49:24 +0000 (UTC)","by mail-qt1-f169.google.com with SMTP id\n d75a77b69052e-50b4001af28so48031711cf.1\n        for <linux-cifs@vger.kernel.org>;\n Tue, 24 Mar 2026 20:49:24 -0700 (PDT)","from wsfd-netdev58.anl.eng.rdu2.dc.redhat.com ([66.187.232.140])\n        by smtp.gmail.com with ESMTPSA id\n d75a77b69052e-50b36cb2e29sm150093001cf.1.2026.03.24.20.49.21\n        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n        Tue, 24 Mar 2026 20:49:23 -0700 (PDT)"],"ARC-Seal":"i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1774410566; cv=none;\n b=ZniyYptmL10EB+LkEIY1/4on3hgNmdj0F7vCuq7uk6j9rodomfj0D8g5Ea6LTfo9ibG4icUp+qXDak1ZdwbtbAp0o6uq0r6JyTMXgUbQLLxLFbF5Ujc2j6lNlsAHwUJjsaR0tbueeLC2L5VwCD834GKiMNm8SvdfH/6gRSgUrxs=","ARC-Message-Signature":"i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1774410566; c=relaxed/simple;\n\tbh=+r3tYa1O4nzHNXgUenOGoOEDKkt9r6oEsRxV2HklKR8=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=hIIhQ/u7x2T9mjKflKWLQcH/kOikMMU8X48f0RDMxyO5wa9DLT8IaLABphNcvE50trPWjjyItwo+3JDJ+JdWN7Kw6z3R5FJ0eh2JDEQ7FrCqJOC2ZhOO/KaVsCkqQiVhzn3sI9LC4GhOg3D/R/MMUPzznNF5bSjh+YhSPo7E8fc=","ARC-Authentication-Results":"i=1; smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=gmail.com;\n spf=pass smtp.mailfrom=gmail.com;\n dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com\n header.b=V0Kf0gSe; arc=none smtp.client-ip=209.85.160.169","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=gmail.com; s=20251104; t=1774410564; x=1775015364;\n darn=vger.kernel.org;\n        h=content-transfer-encoding:mime-version:references:in-reply-to\n         :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n         :message-id:reply-to;\n        bh=CfoS9zHnWtS92mtRPUnEWGWkqfJ2EjLVIhUjEgbm2M4=;\n        b=V0Kf0gSeT3F669KSka82mKuzlY/dgtTlEf40TAs98ct6J8A/3+ybwJWPCsQbHuKb/K\n         Pxg43s8/7hLYBIvKaRqOFMkZV5YvmLR0uuASkWJX1QHcEOWWBX4HRVTeEHvSaM5RvTeW\n         9DUb59NjKrkS7IHgKkLr7EgLmZGL4GwB8sPN+yZDDt9g4vGObr+E7qjbtqtxhCek23u/\n         IzhIOOjmAR8VuNpIOlhJiTsSfT516+GPIFg2r9FZhL87+UtQOoLREeiS3HbKJyiLkAbp\n         MrIGtRZBTAV3BYeybz8V9l6EeB9eRaxTjFHeideMXHcotmMGjuD+lHmZkAeYEI/199s1\n         xapg==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=1e100.net; s=20251104; t=1774410564; x=1775015364;\n        h=content-transfer-encoding:mime-version:references:in-reply-to\n         :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n         :to:cc:subject:date:message-id:reply-to;\n        bh=CfoS9zHnWtS92mtRPUnEWGWkqfJ2EjLVIhUjEgbm2M4=;\n        b=B/m4HZxX/sXhgwGDAHgG8bbsvMH4m3GrvTjI8C5bOuB7Am5G/9ONsyWFv1VAYKn1SM\n         H20/c4oEmtitcZaV56GcAMmuTcs1z/sQCDlviF3vBjyAD/Bk2KnrOPISTuDIA0g1L9og\n         ekP47UzQLBnsDuz3NUVyeZXBD9nEFCg+pdqNYOGFBR5fxqigeMxsdpkAm89+G6Cgcna3\n         zXwdBqsCGlxgdma7hMT09w6vOpjYYcJeGMYnhtadjS8nZBQTz+AqwTUwpPtzB942Tuqv\n         edV/MGC+UON50BTKwr/lG7fKb5nikP9pj8Rv61Bms0VJIPn3BQYAm5DQhbA08cLzX3Zq\n         uP+Q==","X-Forwarded-Encrypted":"i=1;\n AJvYcCURylBavcJ3cbyfcswRxprsx/VpfaXbcE3uuiKMSfnjnS6hIPWwnxHsqWDD8XMRV3MeI5P3Y4jlvBqx@vger.kernel.org","X-Gm-Message-State":"AOJu0YzKb9OY7j+GQkAnGsEp4zytGvfSOlduOHN6BEElBmZEwsP7ryGc\n\tsfEZTxdxfz81FrtNhPbgt9TEpNRJ9+GRIrjdtaHAp9ZEkK6mKQZ58R8F","X-Gm-Gg":"ATEYQzxmVLREHz1mKNHzEq83mS1eEcrvQ1v9HJGQYsuOygMB8/qBlFuGL56Jc5gR5DI\n\ttyhMl8FO3Y3eFiqR0ZA9dsA2MIZU+Qy7kur+E1Zh1d2jqJEkfdD/BkeiPN3m5yGjZL9oQ/hBE8R\n\tTphdiXeUswbtCbF9xR/pxLnzjPI/FxGARsVFlMlo1xA2kynLcRvCADoePreY2UFmKl3IiqK4mde\n\tMZOVONBVUK/7FMkNf05ETocYEOlP0QmqfYSnI58/uEr7rGBSs4rv4sDX3OyXoVT0qDKkN0R8Wbp\n\tWV4FUTncBY1inY8RKaQZ2zNETbqZxgjDZhCRYO5wubNwlAjycSdz0w9rIWbv0cKPdRe0RUvASut\n\tD6pfUZAJLm1Kohd2NB7PYvR3/nRgz1WGGsdxCfZTClOP7e/OPGh0d4dt7akziWGdFbx9/Scsn3M\n\t4B9360aGIg5FsLFoLkYdO5yZHMYbai9mcjQ63UIbIppGZXd5P86dBKIWDlXlyC+B7GSok/Jeqqw\n\ta0LUlAag+DeQ5zBcLCJlCjdDanX2VPKqFnq3UWuE2bMFDbknC6GGqqMZcXmD3kOoQ==","X-Received":"by 2002:a05:622a:5c95:b0:50b:483d:3669 with SMTP id\n d75a77b69052e-50b80e82d15mr29039691cf.62.1774410563747;\n        Tue, 24 Mar 2026 20:49:23 -0700 (PDT)","From":"Xin Long <lucien.xin@gmail.com>","To":"network dev <netdev@vger.kernel.org>,\n\tquic@lists.linux.dev","Cc":"davem@davemloft.net,\n\tkuba@kernel.org,\n\tEric Dumazet <edumazet@google.com>,\n\tPaolo Abeni <pabeni@redhat.com>,\n\tSimon Horman <horms@kernel.org>,\n\tStefan Metzmacher <metze@samba.org>,\n\tMoritz Buhl <mbuhl@openbsd.org>,\n\tTyler Fanelli <tfanelli@redhat.com>,\n\tPengtao He <hepengtao@xiaomi.com>,\n\tThomas Dreibholz <dreibh@simula.no>,\n\tlinux-cifs@vger.kernel.org,\n\tSteve French <smfrench@gmail.com>,\n\tNamjae Jeon <linkinjeon@kernel.org>,\n\tPaulo Alcantara <pc@manguebit.com>,\n\tTom Talpey <tom@talpey.com>,\n\tkernel-tls-handshake@lists.linux.dev,\n\tChuck Lever <chuck.lever@oracle.com>,\n\tJeff Layton <jlayton@kernel.org>,\n\tSteve Dickson <steved@redhat.com>,\n\tHannes Reinecke <hare@suse.de>,\n\tAlexander Aring <aahringo@redhat.com>,\n\tDavid Howells <dhowells@redhat.com>,\n\tMatthieu Baerts <matttbe@kernel.org>,\n\tJohn Ericson <mail@johnericson.me>,\n\tCong Wang <xiyou.wangcong@gmail.com>,\n\t\"D . Wythe\" <alibuda@linux.alibaba.com>,\n\tJason Baron <jbaron@akamai.com>,\n\tilliliti <illiliti@protonmail.com>,\n\tSabrina Dubroca <sd@queasysnail.net>,\n\tMarcelo Ricardo Leitner <marcelo.leitner@gmail.com>,\n\tDaniel Stenberg <daniel@haxx.se>,\n\tAndy Gospodarek <andrew.gospodarek@broadcom.com>,\n\t\"Marc E . Fiuczynski\" <marc@fiuczynski.com>","Subject":"[PATCH net-next v11 01/15] net: define IPPROTO_QUIC and SOL_QUIC\n constants","Date":"Tue, 24 Mar 2026 23:47:06 -0400","Message-ID":"\n <e5cb44e7a6ba57b63a3b13f853947ac88ec97335.1774410440.git.lucien.xin@gmail.com>","X-Mailer":"git-send-email 2.47.1","In-Reply-To":"<cover.1774410440.git.lucien.xin@gmail.com>","References":"<cover.1774410440.git.lucien.xin@gmail.com>","Precedence":"bulk","X-Mailing-List":"linux-cifs@vger.kernel.org","List-Id":"<linux-cifs.vger.kernel.org>","List-Subscribe":"<mailto:linux-cifs+subscribe@vger.kernel.org>","List-Unsubscribe":"<mailto:linux-cifs+unsubscribe@vger.kernel.org>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit"},"content":"This patch adds IPPROTO_QUIC and SOL_QUIC constants to the networking\nsubsystem. These definitions are essential for applications to set\nsocket options and protocol identifiers related to the QUIC protocol.\n\nQUIC does not possess a protocol number allocated from IANA, and like\nIPPROTO_MPTCP, IPPROTO_QUIC is merely a value used when opening a QUIC\nsocket with:\n\n  socket(AF_INET, SOCK_STREAM, IPPROTO_QUIC);\n\nNote we did not opt for UDP ULP for QUIC implementation due to several\nconsiderations:\n\n- QUIC's connection Migration requires at least 2 UDP sockets for one\n  QUIC connection at the same time, not to mention the multipath\n  feature in one of its draft RFCs.\n\n- In-Kernel QUIC, as a Transport Protocol, wants to provide users with\n  the TCP or SCTP like Socket APIs, like connect()/listen()/accept()...\n  Note that a single UDP socket might even be used for multiple QUIC\n  connections.\n\nThe use of IPPROTO_QUIC type sockets over UDP tunnel will effectively\naddress these challenges and provides a more flexible and scalable\nsolution.\n\nSigned-off-by: Xin Long <lucien.xin@gmail.com>\nAcked-by: Paolo Abeni <pabeni@redhat.com>\n---\nv11:\n  - Set maximum line length to 80 characters.\n---\n include/linux/socket.h  | 1 +\n include/uapi/linux/in.h | 2 ++\n 2 files changed, 3 insertions(+)","diff":"diff --git a/include/linux/socket.h b/include/linux/socket.h\nindex ec4a0a025793..9b6c3cd766ca 100644\n--- a/include/linux/socket.h\n+++ b/include/linux/socket.h\n@@ -401,6 +401,7 @@ struct ucred {\n #define SOL_MCTP\t285\n #define SOL_SMC\t\t286\n #define SOL_VSOCK\t287\n+#define SOL_QUIC\t288\n \n /* IPX options */\n #define IPX_TYPE\t1\ndiff --git a/include/uapi/linux/in.h b/include/uapi/linux/in.h\nindex ced0fc3c3aa5..e4072152f2e6 100644\n--- a/include/uapi/linux/in.h\n+++ b/include/uapi/linux/in.h\n@@ -85,6 +85,8 @@ enum {\n #define IPPROTO_RAW\t\tIPPROTO_RAW\n   IPPROTO_SMC = 256,\t\t/* Shared Memory Communications\t\t*/\n #define IPPROTO_SMC\t\tIPPROTO_SMC\n+  IPPROTO_QUIC = 261,\t\t/* A UDP-Based Multiplexed Secure Transport */\n+#define IPPROTO_QUIC\t\tIPPROTO_QUIC\n   IPPROTO_MPTCP = 262,\t\t/* Multipath TCP connection\t\t*/\n #define IPPROTO_MPTCP\t\tIPPROTO_MPTCP\n   IPPROTO_MAX\n","prefixes":["net-next","v11","01/15"]}