get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/1.1/patches/2227027/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2227027,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2227027/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/ltp/patch/20260423023141.28151-1-wegao@suse.com/",
    "project": {
        "id": 59,
        "url": "http://patchwork.ozlabs.org/api/1.1/projects/59/?format=api",
        "name": "Linux Test Project development",
        "link_name": "ltp",
        "list_id": "ltp.lists.linux.it",
        "list_email": "ltp@lists.linux.it",
        "web_url": "",
        "scm_url": "",
        "webscm_url": ""
    },
    "msgid": "<20260423023141.28151-1-wegao@suse.com>",
    "date": "2026-04-23T02:31:34",
    "name": "[v1] cve: icmp_rate_limit: set icmp_msgs_burst within network namespace",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "633655893938edad516457a845166b2ac522e0fa",
    "submitter": {
        "id": 85577,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/85577/?format=api",
        "name": "Wei Gao",
        "email": "wegao@suse.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/ltp/patch/20260423023141.28151-1-wegao@suse.com/mbox/",
    "series": [
        {
            "id": 501142,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/501142/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/ltp/list/?series=501142",
            "date": "2026-04-23T02:31:34",
            "name": "[v1] cve: icmp_rate_limit: set icmp_msgs_burst within network namespace",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/501142/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2227027/comments/",
    "check": "success",
    "checks": "http://patchwork.ozlabs.org/api/patches/2227027/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "ltp@lists.linux.it"
        ],
        "Delivered-To": [
            "patchwork-incoming@legolas.ozlabs.org",
            "ltp@picard.linux.it"
        ],
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=lists.linux.it header.i=@lists.linux.it\n header.a=rsa-sha256 header.s=picard header.b=EOZ+/J9+;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=suse.com header.i=@suse.com header.a=rsa-sha256\n header.s=google header.b=eD7wTGAT;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.linux.it\n (client-ip=213.254.12.146; helo=picard.linux.it;\n envelope-from=ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it;\n receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from picard.linux.it (picard.linux.it [213.254.12.146])\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 4g1KqV6QTRz1yD5\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 23 Apr 2026 12:32:06 +1000 (AEST)",
            "from picard.linux.it (localhost [IPv6:::1])\n\tby picard.linux.it (Postfix) with ESMTP id 843DE3E28DF\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 23 Apr 2026 04:32:04 +0200 (CEST)",
            "from in-4.smtp.seeweb.it (in-4.smtp.seeweb.it [217.194.8.4])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature ECDSA (secp384r1))\n (No client certificate requested)\n by picard.linux.it (Postfix) with ESMTPS id 4F8F73E28DF\n for <ltp@lists.linux.it>; Thu, 23 Apr 2026 04:32:00 +0200 (CEST)",
            "from mail-wm1-x331.google.com (mail-wm1-x331.google.com\n [IPv6:2a00:1450:4864:20::331])\n (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by in-4.smtp.seeweb.it (Postfix) with ESMTPS id BED7D1000421\n for <ltp@lists.linux.it>; Thu, 23 Apr 2026 04:31:59 +0200 (CEST)",
            "by mail-wm1-x331.google.com with SMTP id\n 5b1f17b1804b1-4891c0620bcso35173075e9.1\n for <ltp@lists.linux.it>; Wed, 22 Apr 2026 19:31:59 -0700 (PDT)",
            "from localhost ([2a07:de40:b240:0:2ad6:ed42:2ad6:ed42])\n by smtp.gmail.com with UTF8SMTPSA id\n 5b1f17b1804b1-488fb735d3dsm332842685e9.2.2026.04.22.19.31.58\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Wed, 22 Apr 2026 19:31:58 -0700 (PDT)"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/simple; d=lists.linux.it;\n i=@lists.linux.it; q=dns/txt; s=picard; t=1776911524; h=to : date :\n message-id : mime-version : subject : list-id : list-unsubscribe :\n list-archive : list-post : list-help : list-subscribe : from :\n reply-to : content-type : content-transfer-encoding : sender : from;\n bh=L/XuuSsY48R/wckjTJhCC+riNcenCzkfI/AJqrT3bnA=;\n b=EOZ+/J9+jxSX3dLFJkcmVSk51RctMDunAzMYwdhl+s4+fIHhcEMzsQhxaD0t+5H+/5een\n mOxSJ9dtoGF4z+bm3ynK5O5E3N70Gb8DFl4G5K6PrCwSPpkNVPZLgqq9kwgXjHjDJGPFfMs\n y56EWZ3y08+kfFGzTNpwE5v+dq/6Hq0=",
            "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=suse.com; s=google; t=1776911519; x=1777516319; darn=lists.linux.it;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:from:to:cc:subject:date:message-id:reply-to;\n bh=mrMcXkRGk8K3kIcnZZkMrbJOMCEZpSFoA6Wuix9fMHg=;\n b=eD7wTGATEwKcTqNYRk62z3Ps4ljwbhjiDqJnXWmSWFlTCguL/qO4ASLKi7PkbWq4yu\n vwk/DMRJyYHbboFyO4OTDgRD2faH+Y1h9Mw6xbLkh/0xDZiadKKimuiu43jLac02WfLq\n yBUHDBsMEirLD/4Txg697cCOq1GatMWABRd5QTTuWLS7i6+9NOAwXYrcxGPWqf2uCZvW\n 5okrM0ccaqjKcmal3lXKPduECcSBNJngBflpG7kDRWd6PCum8I9pWsnaYhhvgUaMDn2a\n 7LUgu4ihffxejYhZ/9e+Mk4iNt6VFueq9vc4+hnoAMC7t1+yUmXsHK0Z7543xJM4pOl/\n wusw=="
        ],
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1776911519; x=1777516319;\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=mrMcXkRGk8K3kIcnZZkMrbJOMCEZpSFoA6Wuix9fMHg=;\n b=pAiHyJ8HZoaWXILdjJgylKka+wko1n8C3qldB+einysO107Qls2I9uRMSBlai+/9I/\n Bn9pwW7I4ZjAdK4O4UM91xfAlPHMYKWpzTYsy4z6cO2LGSXXDFNb3oFffPvtGPf0R2Z/\n Zo4gGsR9qbn1pXRNwYo5DX2J0nr8dbElc2Cx1zRZDSwOzrqBJG1sLvf+ybdBaDE2TBur\n IebUHH5yyObt8/m4Pr9XQt74gQm/NiJjnReMwuNbLqTphcGda6w9XJtVQjiYZIIHImFO\n AOl+NelYoxcbkDHb5JwoETi53yce4lmBteiVdXr3uOGFDVqwAiz83QF64+w71I/u/q6G\n YPyQ==",
        "X-Gm-Message-State": "AOJu0YxokNf3YH1kTWBSO5zS/dPPc4m5gbUpdDPYjtM9gRtki2bks+wS\n X2O8gGjGIBvX7fRFtKH389CozkKVjzbDDn4ccgGoer+SnFiEAwUR+l5xeEbddGlOsZzDPSYh2G8\n 7jAw=",
        "X-Gm-Gg": "AeBDieum03/GXCTzvf7zNUiYibYZHl+aMo68N9xDAW/c+r3zBS3P/DQqh73g9CofxSw\n IoX4a9ezY3V/6CdWwTCPGKMQUAotMwk9tW7YMBxoWRkzCSqGZA3ZTweKwJtxdwuKJ+2NMs8sU/l\n d+oHFFTKhPv5V/PCz4E/loW/yG2F88Z9LDW8Dz1wb7S2OKsGD7j5FHpUNxK1XrwF1xemvMqVPuq\n ca0X6zd8dqX9AGFYSKqfIBV+w1tCQHumDOUIhjNPjZvz0DWbT0xklfsyBpWhHdxq4zWJYmVWUg4\n oTZj5fggzZY3EItFLFrNtOaw/UGDANUFGEwonAjBjkxBUQcmcaJs9jEBhwwQr7AXvW8qtFwvcgZ\n D+b7qL+i9E60bSCjFQUCFMGnnDvTkOH88P9MP2wImox9H3fBRX1nCWRp/5jmwwdZy4OyhKtPXko\n TgaapyPyGjGqEGBYg0Jt+Sjw==",
        "X-Received": "by 2002:a05:600c:a404:b0:47e:e2eb:bc22 with SMTP id\n 5b1f17b1804b1-488fb73b2a3mr298243355e9.5.1776911518923;\n Wed, 22 Apr 2026 19:31:58 -0700 (PDT)",
        "To": "ltp@lists.linux.it",
        "Date": "Thu, 23 Apr 2026 02:31:34 +0000",
        "Message-ID": "<20260423023141.28151-1-wegao@suse.com>",
        "X-Mailer": "git-send-email 2.43.0",
        "MIME-Version": "1.0",
        "X-Spam-Status": "No, score=0.1 required=7.0 tests=DKIM_SIGNED,DKIM_VALID,\n DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS shortcircuit=no\n autolearn=disabled version=4.0.1",
        "X-Spam-Checker-Version": "SpamAssassin 4.0.1 (2024-03-25) on in-4.smtp.seeweb.it",
        "X-Virus-Scanned": "clamav-milter 1.0.9 at in-4.smtp.seeweb.it",
        "X-Virus-Status": "Clean",
        "Subject": "[LTP] [PATCH v1] cve: icmp_rate_limit: set icmp_msgs_burst within\n network namespace",
        "X-BeenThere": "ltp@lists.linux.it",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "Linux Test Project <ltp.lists.linux.it>",
        "List-Unsubscribe": "<https://lists.linux.it/options/ltp>,\n <mailto:ltp-request@lists.linux.it?subject=unsubscribe>",
        "List-Archive": "<http://lists.linux.it/pipermail/ltp/>",
        "List-Post": "<mailto:ltp@lists.linux.it>",
        "List-Help": "<mailto:ltp-request@lists.linux.it?subject=help>",
        "List-Subscribe": "<https://lists.linux.it/listinfo/ltp>,\n <mailto:ltp-request@lists.linux.it?subject=subscribe>",
        "From": "Wei Gao via ltp <ltp@lists.linux.it>",
        "Reply-To": "Wei Gao <wegao@suse.com>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it",
        "Sender": "\"ltp\" <ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it>"
    },
    "content": "When network namespaces are used, the kernel resets network sysctls to\ntheir default values. This makes the global .save_restore for\nicmp_msgs_burst ineffective for tests that enter a new network\nnamespace (e.g. via tst_setup_netns() or manual unshare).\n\nMoving the sysctl configuration into the child namespace ensures the\ntest always runs with the expected burst value of 50, regardless of the\nkernel defaults (which were increased to 10000 in newer versions).\n\nFixes: 8e919bfb2ab0 (\"cve: icmp_rate_limit: Make sure icmp_msgs_burst = 50\")\nSigned-off-by: Wei Gao <wegao@suse.com>\n---\n testcases/cve/icmp_rate_limit01.c | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/testcases/cve/icmp_rate_limit01.c b/testcases/cve/icmp_rate_limit01.c\nindex 78480cea6..5193c5dfd 100644\n--- a/testcases/cve/icmp_rate_limit01.c\n+++ b/testcases/cve/icmp_rate_limit01.c\n@@ -62,6 +62,8 @@ static void setup(void)\n \t/* Do NOT close this FD, or both interfaces will be destroyed */\n \tchildns = SAFE_OPEN(\"/proc/self/ns/net\", O_RDONLY);\n \n+\tSAFE_FILE_PRINTF(\"/proc/sys/net/ipv4/icmp_msgs_burst\", \"50\");\n+\n \t/* Configure child namespace */\n \tCREATE_VETH_PAIR(\"ltp_veth1\", \"ltp_veth2\");\n \tNETDEV_ADD_ADDRESS_INET(\"ltp_veth2\", htonl(DSTADDR), NETMASK,\n@@ -255,7 +257,6 @@ static struct tst_test test = {\n \t},\n \t.save_restore = (const struct tst_path_val[]) {\n \t\t{\"/proc/sys/user/max_user_namespaces\", \"1024\", TST_SR_SKIP},\n-\t\t{\"/proc/sys/net/ipv4/icmp_msgs_burst\", \"50\", TST_SR_TBROK},\n \t\t{}\n \t},\n \t.tags = (const struct tst_tag[]) {\n",
    "prefixes": [
        "v1"
    ]
}