get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2213735,
    "url": "http://patchwork.ozlabs.org/api/patches/2213735/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20260320050533.422475-1-aleksandr.loktionov@intel.com/",
    "project": {
        "id": 46,
        "url": "http://patchwork.ozlabs.org/api/projects/46/?format=api",
        "name": "Intel Wired Ethernet development",
        "link_name": "intel-wired-lan",
        "list_id": "intel-wired-lan.osuosl.org",
        "list_email": "intel-wired-lan@osuosl.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260320050533.422475-1-aleksandr.loktionov@intel.com>",
    "list_archive_url": null,
    "date": "2026-03-20T05:05:33",
    "name": "[iwl-next] ice: fix FDB deletion",
    "commit_ref": null,
    "pull_url": null,
    "state": "under-review",
    "archived": false,
    "hash": "4c88c94eb74d7f3fac790c41ac9f39d7db33dc92",
    "submitter": {
        "id": 75597,
        "url": "http://patchwork.ozlabs.org/api/people/75597/?format=api",
        "name": "Loktionov, Aleksandr",
        "email": "aleksandr.loktionov@intel.com"
    },
    "delegate": {
        "id": 109701,
        "url": "http://patchwork.ozlabs.org/api/users/109701/?format=api",
        "username": "anguy11",
        "first_name": "Anthony",
        "last_name": "Nguyen",
        "email": "anthony.l.nguyen@intel.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20260320050533.422475-1-aleksandr.loktionov@intel.com/mbox/",
    "series": [
        {
            "id": 496751,
            "url": "http://patchwork.ozlabs.org/api/series/496751/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=496751",
            "date": "2026-03-20T05:05:33",
            "name": "[iwl-next] ice: fix FDB deletion",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/496751/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2213735/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2213735/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<intel-wired-lan-bounces@osuosl.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "intel-wired-lan@lists.osuosl.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@legolas.ozlabs.org",
            "intel-wired-lan@lists.osuosl.org"
        ],
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=osuosl.org header.i=@osuosl.org header.a=rsa-sha256\n header.s=default header.b=7Gg3zxZB;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=osuosl.org\n (client-ip=140.211.166.136; helo=smtp3.osuosl.org;\n envelope-from=intel-wired-lan-bounces@osuosl.org;\n receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.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 4fcVrQ3xxrz1xxW\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 20 Mar 2026 16:05:42 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby smtp3.osuosl.org (Postfix) with ESMTP id 519CC617A3;\n\tFri, 20 Mar 2026 05:05:40 +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 QJuOpKY8nRdQ; Fri, 20 Mar 2026 05:05:38 +0000 (UTC)",
            "from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp3.osuosl.org (Postfix) with ESMTP id 34646617A2;\n\tFri, 20 Mar 2026 05:05:38 +0000 (UTC)",
            "from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133])\n by lists1.osuosl.org (Postfix) with ESMTP id BD45725C\n for <intel-wired-lan@lists.osuosl.org>; Fri, 20 Mar 2026 05:05:36 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n by smtp2.osuosl.org (Postfix) with ESMTP id A2C9541398\n for <intel-wired-lan@lists.osuosl.org>; Fri, 20 Mar 2026 05:05:36 +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 IF5R0hmdwnMI for <intel-wired-lan@lists.osuosl.org>;\n Fri, 20 Mar 2026 05:05:35 +0000 (UTC)",
            "from mgamail.intel.com (mgamail.intel.com [192.198.163.7])\n by smtp2.osuosl.org (Postfix) with ESMTPS id AABF040176\n for <intel-wired-lan@lists.osuosl.org>; Fri, 20 Mar 2026 05:05:35 +0000 (UTC)",
            "from orviesa003.jf.intel.com ([10.64.159.143])\n by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 19 Mar 2026 22:05:35 -0700",
            "from amlin-019-225.igk.intel.com ([10.102.19.225])\n by orviesa003.jf.intel.com with ESMTP; 19 Mar 2026 22:05:34 -0700"
        ],
        "X-Virus-Scanned": [
            "amavis at osuosl.org",
            "amavis at osuosl.org"
        ],
        "X-Comment": "SPF check N/A for local connections - client-ip=140.211.166.142;\n helo=lists1.osuosl.org; envelope-from=intel-wired-lan-bounces@osuosl.org;\n receiver=<UNKNOWN> ",
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 smtp3.osuosl.org 34646617A2",
            "OpenDKIM Filter v2.11.0 smtp2.osuosl.org AABF040176"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org;\n\ts=default; t=1773983138;\n\tbh=8nFyx1DXvCjok0uH7GLT9XHH5IswmDvdbN6h5xh4qVk=;\n\th=From:To:Cc:Date:Subject:List-Id:List-Unsubscribe:List-Archive:\n\t List-Post:List-Help:List-Subscribe:From;\n\tb=7Gg3zxZBKR0p0LqKf9dUo+uq3J/9qYldy7dp67cVj2MuH8BtQ3M9dDrK/99P8mOit\n\t IszW988a55NWlMkF/muZ4yokGJY3hyDp3p2wmm3S91lm+q80FKqfq8BCFwTh+RrKbp\n\t KA3ylmVY/IOb8k0C5MzJ5FZJYXKDfUxMG8ar5C8/m0FUbF110rPfk4KJ0IJq5KgUc0\n\t mRxDdnz5rFqiM6XEeTQVloqFFarUAMJEbcxEx8FLTFDqshKMutWb41TJngu52x7NBV\n\t rnkPzbZ9LA6iL5m4FAO2XwvqOY+nOTfKZQnasiKIz9IGkXx0HMfkTmpQbhMOfi83ns\n\t 7nhPVuT3ebtYA==",
        "Received-SPF": "Pass (mailfrom) identity=mailfrom; client-ip=192.198.163.7;\n helo=mgamail.intel.com; envelope-from=aleksandr.loktionov@intel.com;\n receiver=<UNKNOWN>",
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 smtp2.osuosl.org AABF040176",
        "X-CSE-ConnectionGUID": [
            "94fKlyI1T8GTZBifsWwuNQ==",
            "2wmL25AVRJ+lna9GUs3hCg=="
        ],
        "X-CSE-MsgGUID": [
            "I21Tm0xuSBOdF5jsFO0t7A==",
            "6yPA7/OrQQmIWEpUs/aFKA=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6800,10657,11734\"; a=\"100522715\"",
            "E=Sophos;i=\"6.23,130,1770624000\"; d=\"scan'208\";a=\"100522715\"",
            "E=Sophos;i=\"6.23,130,1770624000\"; d=\"scan'208\";a=\"227307296\""
        ],
        "X-ExtLoop1": "1",
        "From": "Aleksandr Loktionov <aleksandr.loktionov@intel.com>",
        "To": "intel-wired-lan@lists.osuosl.org, anthony.l.nguyen@intel.com,\n aleksandr.loktionov@intel.com",
        "Cc": "netdev@vger.kernel.org, Jakub Staniszewski <jakub.staniszewski@intel.com>",
        "Date": "Fri, 20 Mar 2026 06:05:33 +0100",
        "Message-ID": "<20260320050533.422475-1-aleksandr.loktionov@intel.com>",
        "X-Mailer": "git-send-email 2.52.0",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "X-Mailman-Original-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1773983136; x=1805519136;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=zPbmu2h3dYcVfoZeyIIRECebdDh3IS+lQz8XJwFWoRc=;\n b=h00viKmuZPthn7iPaVw3vRolNi5h3ulBuCi4dlBhr3sF++S3dZMKCTtt\n f4/vCx/M4ijRF5QxxMS+J4PyzfIjtjP31nUf84btT6OiFA0cmeQaDuKkS\n 5o2hHC/e/R7RRuBRkVixl6ZDCbFN2e/UQHdyCI9fN4sbWZBFkmY9bt0IY\n BoinLgot9+tnuKbeJyb00QGJX4CF/PbCGgcDpXfoyug8s68GBVDMymZei\n gLzATRjB3pdFl3l3uOELYtB9cWFtdK3Kv2YWENyd/pxi+FnDho7uPt5kd\n 9SNhvxX/uJ8bHIH1f+cfFUXsQV0Fw/rJodD/Vpn4J8FySqbkm/wZfmBp8\n w==;",
        "X-Mailman-Original-Authentication-Results": [
            "smtp2.osuosl.org;\n dmarc=pass (p=none dis=none)\n header.from=intel.com",
            "smtp2.osuosl.org;\n dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com\n header.a=rsa-sha256 header.s=Intel header.b=h00viKmu"
        ],
        "Subject": "[Intel-wired-lan] [PATCH iwl-next] ice: fix FDB deletion",
        "X-BeenThere": "intel-wired-lan@osuosl.org",
        "X-Mailman-Version": "2.1.30",
        "Precedence": "list",
        "List-Id": "Intel Wired Ethernet Linux Kernel Driver Development\n <intel-wired-lan.osuosl.org>",
        "List-Unsubscribe": "<https://lists.osuosl.org/mailman/options/intel-wired-lan>,\n <mailto:intel-wired-lan-request@osuosl.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.osuosl.org/pipermail/intel-wired-lan/>",
        "List-Post": "<mailto:intel-wired-lan@osuosl.org>",
        "List-Help": "<mailto:intel-wired-lan-request@osuosl.org?subject=help>",
        "List-Subscribe": "<https://lists.osuosl.org/mailman/listinfo/intel-wired-lan>,\n <mailto:intel-wired-lan-request@osuosl.org?subject=subscribe>",
        "Errors-To": "intel-wired-lan-bounces@osuosl.org",
        "Sender": "\"Intel-wired-lan\" <intel-wired-lan-bounces@osuosl.org>"
    },
    "content": "From: Jakub Staniszewski <jakub.staniszewski@intel.com>\n\nCorrect the logic in ndo_fdb_del() to align with other drivers in \nupstream. The condition was inverted — it was rejecting permanent\n(NUD_PERMANENT) MAC addresses while allowing non-permanent ones to be\ndeleted, which is the opposite of the intended behavior.\n\nThe correct logic is to reject deletion of non-permanent entries,\nmirroring the fix applied to ndo_dflt_fdb_del() in commit 645359930231\n(\"rtnetlink: Fix inverted check in ndo_dflt_fdb_del()\").\n\nFixes: e94d4478669357cd (\"ice: Implement filter sync, NDO operations and bump version\")\nSigned-off-by: Jakub Staniszewski <jakub.staniszewski@intel.com>\nSigned-off-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>\n---\n drivers/net/ethernet/intel/ice/ice_main.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/ethernet/intel/ice/ice_main.c b/drivers/net/ethernet/intel/ice/ice_main.c\nindex 348c86b..7692403 100644\n--- a/drivers/net/ethernet/intel/ice/ice_main.c\n+++ b/drivers/net/ethernet/intel/ice/ice_main.c\n@@ -6200,7 +6200,7 @@ ice_fdb_del(struct ndmsg *ndm, __always_unused struct nlattr *tb[],\n {\n \tint err;\n \n-\tif (ndm->ndm_state & NUD_PERMANENT) {\n+\tif (!(ndm->ndm_state & NUD_PERMANENT)) {\n \t\tnetdev_err(dev, \"FDB only supports static addresses\\n\");\n \t\treturn -EINVAL;\n \t}\n",
    "prefixes": [
        "iwl-next"
    ]
}