Show a cover letter.

GET /api/1.1/covers/2230343/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2230343,
    "url": "http://patchwork.ozlabs.org/api/1.1/covers/2230343/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/openvswitch/cover/20260429151756.4157670-1-i.maximets@ovn.org/",
    "project": {
        "id": 47,
        "url": "http://patchwork.ozlabs.org/api/1.1/projects/47/?format=api",
        "name": "Open vSwitch",
        "link_name": "openvswitch",
        "list_id": "ovs-dev.openvswitch.org",
        "list_email": "ovs-dev@openvswitch.org",
        "web_url": "http://openvswitch.org/",
        "scm_url": "git@github.com:openvswitch/ovs.git",
        "webscm_url": "https://github.com/openvswitch/ovs"
    },
    "msgid": "<20260429151756.4157670-1-i.maximets@ovn.org>",
    "date": "2026-04-29T15:16:35",
    "name": "[ovs-dev,net,0/2] openvswitch: fix self-deadlock on release of tunnel vports",
    "submitter": {
        "id": 76798,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/76798/?format=api",
        "name": "Ilya Maximets",
        "email": "i.maximets@ovn.org"
    },
    "mbox": "http://patchwork.ozlabs.org/project/openvswitch/cover/20260429151756.4157670-1-i.maximets@ovn.org/mbox/",
    "series": [
        {
            "id": 502094,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/502094/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/openvswitch/list/?series=502094",
            "date": "2026-04-29T15:16:35",
            "name": "openvswitch: fix self-deadlock on release of tunnel vports",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/502094/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/covers/2230343/comments/",
    "headers": {
        "Return-Path": "<ovs-dev-bounces@openvswitch.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "dev@openvswitch.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@legolas.ozlabs.org",
            "ovs-dev@lists.linuxfoundation.org"
        ],
        "Authentication-Results": [
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org\n (client-ip=2605:bc80:3010::136; helo=smtp3.osuosl.org;\n envelope-from=ovs-dev-bounces@openvswitch.org; receiver=patchwork.ozlabs.org)",
            "smtp2.osuosl.org;\n dmarc=none (p=none dis=none) header.from=ovn.org"
        ],
        "Received": [
            "from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136])\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 4g5LXh5nBSz1yHX\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2026 01:18:11 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby smtp3.osuosl.org (Postfix) with ESMTP id 9933561615;\n\tWed, 29 Apr 2026 15:18:08 +0000 (UTC)",
            "from smtp3.osuosl.org ([127.0.0.1])\n by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id 5w_ENUjI8jlr; Wed, 29 Apr 2026 15:18:07 +0000 (UTC)",
            "from lists.linuxfoundation.org (lf-lists.osuosl.org\n [IPv6:2605:bc80:3010:104::8cd3:938])\n\tby smtp3.osuosl.org (Postfix) with ESMTPS id 524FE61617;\n\tWed, 29 Apr 2026 15:18:07 +0000 (UTC)",
            "from lf-lists.osuosl.org (localhost [127.0.0.1])\n\tby lists.linuxfoundation.org (Postfix) with ESMTP id 22D70C04FB;\n\tWed, 29 Apr 2026 15:18:07 +0000 (UTC)",
            "from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n by lists.linuxfoundation.org (Postfix) with ESMTP id 6192CC04FA\n for <dev@openvswitch.org>; Wed, 29 Apr 2026 15:18:06 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n by smtp2.osuosl.org (Postfix) with ESMTP id 4CFF142106\n for <dev@openvswitch.org>; Wed, 29 Apr 2026 15:18:06 +0000 (UTC)",
            "from smtp2.osuosl.org ([127.0.0.1])\n by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id XdrV0bzHuc8R for <dev@openvswitch.org>;\n Wed, 29 Apr 2026 15:18:05 +0000 (UTC)",
            "from mail-wm1-f67.google.com (mail-wm1-f67.google.com\n [209.85.128.67])\n by smtp2.osuosl.org (Postfix) with ESMTPS id 46ECE407DE\n for <dev@openvswitch.org>; Wed, 29 Apr 2026 15:18:05 +0000 (UTC)",
            "by mail-wm1-f67.google.com with SMTP id\n 5b1f17b1804b1-4891c0620bcso87837545e9.1\n for <dev@openvswitch.org>; Wed, 29 Apr 2026 08:18:05 -0700 (PDT)",
            "from im-t490s.redhat.com (89-24-32-159.nat.epc.tmcz.cz.\n [89.24.32.159]) by smtp.gmail.com with ESMTPSA id\n 5b1f17b1804b1-48a7c2d3811sm32358165e9.3.2026.04.29.08.18.01\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Wed, 29 Apr 2026 08:18:02 -0700 (PDT)"
        ],
        "X-Virus-Scanned": [
            "amavis at osuosl.org",
            "amavis at osuosl.org"
        ],
        "X-Comment": "SPF check N/A for local connections -\n client-ip=2605:bc80:3010:104::8cd3:938; helo=lists.linuxfoundation.org;\n envelope-from=ovs-dev-bounces@openvswitch.org; receiver=<UNKNOWN> ",
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 smtp3.osuosl.org 524FE61617",
            "OpenDKIM Filter v2.11.0 smtp2.osuosl.org 46ECE407DE"
        ],
        "Received-SPF": "Pass (mailfrom) identity=mailfrom; client-ip=209.85.128.67;\n helo=mail-wm1-f67.google.com; envelope-from=i.maximets.ovn@gmail.com;\n receiver=<UNKNOWN>",
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 smtp2.osuosl.org 46ECE407DE",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1777475883; x=1778080683;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date\n :message-id:reply-to;\n bh=6g3lBM/B1h9yI4BCUe+xp9frAHx+qvXrSW9JLGyPZkQ=;\n b=UGlQHwsKzBmNY3kIeToUnHwzQKr37y2e14nGKjgfhGd3hqemBzW8445mPNVQL2I/qc\n UYqWFJe23NESAvYZrN62dt1eSi+QWtv3zJl5n9Nu2hmjZUgNZcrK3bNRqTEZ+NJbxhTK\n fiaoqdcd++HAiVd/dWHe6alBFFtJPfOFkFhwpxWWFiTyXajZSv5XIslxYAo8ggvcvmkP\n sqDFr76GIZsV1GlOQjOCdLx3geCzR5evIcdMmBs5QBUcZ6ILAq6h3ztAajnOmTXETiAT\n heItq1DnPHiljR2Kf6EvdrsEtbNIA1V39G1/DIEdx5Jw+XByyPUthFikYxRa2WuC4oR2\n U0lg==",
        "X-Forwarded-Encrypted": "i=1;\n AFNElJ96sryjQ4CjifsMoBWY0mZY0QXx3fxNLext5j9zhIbzy11z2JPCcxQMz5b8bUeOZbs66Tg=@openvswitch.org",
        "X-Gm-Message-State": "AOJu0YwcBY97PmZ/saO6A2n+Rnhbqmi8xV1n2yp9SLYVcYL8vGj8cFzL\n B9DQpXkn/QlmXEhWZNF8IQJQipz62vqOq+MIOhKKWNMNIdBo0qL4VLxP",
        "X-Gm-Gg": "AeBDieuDzkYB760N6WxEdMxo8wo4vstF/SE6iw3a/+nP0Y3GDXX1wsokX6f3ev3oQAT\n fK/5H5kvmvmF8+nAagpTmrP/2skLRw6FHVN9PN5l3XszJFtT2qQg/K7JeFdGEK/LeZ4fx8ax0Ts\n Gppvxu/oZHBNAx7Pm8+/seqE3LKPcaPBcANFvo4cC4Oas5c+FNDmwaxfEHNTmxJamJLNciGHNDb\n F51S8XNTO8ovWw9lvUyudrKTqdpdle4KtC43cyYB2F0a2BdDNpytPnbsi8jEMbuGAsof2EN02q9\n vPPYOZZbIb/pYEcGpQ86JQy6D/UZoM1OzEyK+t5drT+NNiP1maJKug5Bm2vMdtBClvWUMnVlNRR\n COcKWdwEJ1DhYnzeddpl7O+iyo98uifBZEGEwKIikxfjWmVA6KMLTCLeHx9tmY17W77Qhn5aV/3\n j0VlbUMc2wG2OIWwwJBh/19tljpUU9bzw2BrUblWkRjCxcA1DzMf6ctiKgrqy2CeHiNSXF8Q==",
        "X-Received": "by 2002:a05:600c:a110:b0:489:1f3e:5f69 with SMTP id\n 5b1f17b1804b1-48a77b176f5mr97415915e9.18.1777475882817;\n Wed, 29 Apr 2026 08:18:02 -0700 (PDT)",
        "From": "Ilya Maximets <i.maximets@ovn.org>",
        "To": "netdev@vger.kernel.org",
        "Date": "Wed, 29 Apr 2026 17:16:35 +0200",
        "Message-ID": "<20260429151756.4157670-1-i.maximets@ovn.org>",
        "X-Mailer": "git-send-email 2.53.0",
        "MIME-Version": "1.0",
        "Subject": "[ovs-dev] [PATCH net 0/2] openvswitch: fix self-deadlock on release\n of tunnel vports",
        "X-BeenThere": "ovs-dev@openvswitch.org",
        "X-Mailman-Version": "2.1.30",
        "Precedence": "list",
        "List-Id": "<ovs-dev.openvswitch.org>",
        "List-Unsubscribe": "<https://mail.openvswitch.org/mailman/options/ovs-dev>,\n <mailto:ovs-dev-request@openvswitch.org?subject=unsubscribe>",
        "List-Archive": "<http://mail.openvswitch.org/pipermail/ovs-dev/>",
        "List-Post": "<mailto:ovs-dev@openvswitch.org>",
        "List-Help": "<mailto:ovs-dev-request@openvswitch.org?subject=help>",
        "List-Subscribe": "<https://mail.openvswitch.org/mailman/listinfo/ovs-dev>,\n <mailto:ovs-dev-request@openvswitch.org?subject=subscribe>",
        "Cc": "dev@openvswitch.org, linux-kselftest@vger.kernel.org,\n Yuan Tan <tanyuan98@outlook.com>, linux-kernel@vger.kernel.org,\n Ilya Maximets <i.maximets@ovn.org>, Yang Yang <n05ec@lzu.edu.cn>,\n Eric Dumazet <edumazet@google.com>, Simon Horman <horms@kernel.org>,\n Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,\n Shuah Khan <shuah@kernel.org>, \"David S. Miller\" <davem@davemloft.net>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "ovs-dev-bounces@openvswitch.org",
        "Sender": "\"dev\" <ovs-dev-bounces@openvswitch.org>"
    },
    "content": "Two patches - the fix for the actual bug and the selftest that reproduces it.\n\nI missed the self-deadlock in the original patch that introduced the issue,\nbecause testing required code modification in the ovs-vswitchd to force it to\nuse legacy tunnel ports.  I thought I made the change correctly, but apparently\nsomething went wrong and the tests were run with the standard LWT infra instead.\nThe selftest added in this patch set will at least prevent this kind of mistakes\nin the future.\n\nI mentioned, however, that these tunnel vports are legacy and not actually used\nby ovs-vswitchd.  RTM_NEWLINK + COLLECT_METADATA is used in conjunction with the\nstandard OVS_VPORT_TYPE_NETDEV instead since 2017.  The code to use the legacy\ntunnels still exists in ovs-vswitchd however, but only as a fallback for older\nkernels and we're planning to remove it in the next release.  I'll be sending an\nRFC to remove support for these legacy tunnel types from the kernel, as they\nserve no real purpose today and only increase the uAPI surface for CVEs, but\nwe need to fix the known bugs for stable versions.\n\nIlya Maximets (2):\n  openvswitch: vport: fix self-deadlock on release of tunnel ports\n  selftests: openvswitch: add tests for tunnel vport refcounting\n\n net/openvswitch/vport-netdev.c                |  6 ++-\n .../selftests/net/openvswitch/openvswitch.sh  | 37 +++++++++++++++++++\n .../selftests/net/openvswitch/ovs-dpctl.py    | 10 ++---\n 3 files changed, 47 insertions(+), 6 deletions(-)"
}