Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.0/patches/2175624/?format=api
{ "id": 2175624, "url": "http://patchwork.ozlabs.org/api/1.0/patches/2175624/?format=api", "project": { "id": 22, "url": "http://patchwork.ozlabs.org/api/1.0/projects/22/?format=api", "name": "HostAP Development", "link_name": "hostap", "list_id": "hostap.lists.infradead.org", "list_email": "hostap@lists.infradead.org", "web_url": "", "scm_url": "", "webscm_url": "" }, "msgid": "<20251218161934.284933-3-benjamin@sipsolutions.net>", "date": "2025-12-18T16:19:34", "name": "[2/2] AP: Do not store RSNXE for WPA 1", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "c77ec6bf3d665940471a12c53c4bc67af20eb255", "submitter": { "id": 67525, "url": "http://patchwork.ozlabs.org/api/1.0/people/67525/?format=api", "name": "Benjamin Berg", "email": "benjamin@sipsolutions.net" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/hostap/patch/20251218161934.284933-3-benjamin@sipsolutions.net/mbox/", "series": [ { "id": 485877, "url": "http://patchwork.ozlabs.org/api/1.0/series/485877/?format=api", "date": "2025-12-18T16:19:33", "name": "Avoid/Accept RSNXE in association request for WPA 1", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/485877/mbox/" } ], "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2175624/checks/", "tags": {}, "headers": { "Return-Path": "\n <hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@legolas.ozlabs.org", "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n secure) header.d=lists.infradead.org header.i=@lists.infradead.org\n header.a=rsa-sha256 header.s=bombadil.20210309 header.b=ud0kEuWN;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n secure) header.d=sipsolutions.net header.i=@sipsolutions.net\n header.a=rsa-sha256 header.s=mail header.b=kENj/cFM;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=none (no SPF record) smtp.mailfrom=lists.infradead.org\n (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org;\n envelope-from=hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org;\n receiver=patchwork.ozlabs.org)" ], "Received": [ "from bombadil.infradead.org (bombadil.infradead.org\n [IPv6:2607:7c80:54:3::133])\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 4dXGCv3bDfz1y3l\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 19 Dec 2025 03:22:30 +1100 (AEDT)", "from localhost ([::1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux))\n\tid 1vWGlE-00000008o8C-2Yyt;\n\tThu, 18 Dec 2025 16:21:52 +0000", "from s3.sipsolutions.net ([2a01:4f8:242:246e::2]\n helo=sipsolutions.net)\n\tby bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux))\n\tid 1vWGlA-00000008o6R-30f9\n\tfor hostap@lists.infradead.org;\n\tThu, 18 Dec 2025 16:21:50 +0000", "by sipsolutions.net with esmtpsa\n (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)\n\t(Exim 4.98.2)\n\t(envelope-from <benjamin@sipsolutions.net>)\n\tid 1vWGl6-0000000Ec6Y-3srP;\n\tThu, 18 Dec 2025 17:21:45 +0100" ], "DKIM-Signature": [ "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20210309; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post:\n\tList-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:\n\tMessage-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:\n\tResent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:\n\tList-Owner; bh=lSOToGvag61M0DCCMy6X1hSiTic92UJrxSofbYCag+s=; b=ud0kEuWN3R5Svl\n\tK+1nDocPLiJ32wFuNkMMRzjbmNT5yRhoSz6SZFYcrCF8IbtwgpNwrhPzNUzYBeZ5Xj3FLk3HIgHJp\n\tA3ckYa0NncXfnahh4HARUK0MlJT+AcaFTvW9JONGaRkkJ3EkhR+B28ZljArY+x+XEHQ1E4oVbEno4\n\ty+Hovy3ahhPRqnVdMJpEVflUjJFPFR1KSIwXLdbJPgLTkHH9Orf7cIwUQbi92fcWu4bCeZ1Bi/16b\n\tN4qBwWEXz8PmfYlkSqFYkBOAzFB11EBV+id5vL+OQV4iHuZ+rVrgf/lv9cTvg3XiNl2sw1Ebf1yj7\n\tBKYtU8k3txfGLqtV3Nww==;", "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=sipsolutions.net; s=mail; h=Content-Transfer-Encoding:MIME-Version:\n\tReferences:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Content-Type:Sender\n\t:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To:\n\tResent-Cc:Resent-Message-ID; bh=gFBcLkFNjIIEXuFmtlF5/0bXhJzWLKtw+NA+sU//5m4=;\n\tt=1766074908; x=1767284508; b=kENj/cFMQv9WwMZNiBwhKGLuw+HT5utwIuwcUTY0NycyC6P\n\tTlrAP1BXs11mWIRH0ydV5iN16wbladTG5LihWxbbdIkS7CNr6nITFtK4ePuZ1Gg45WJKQ49+LkJJH\n\tmgfVommObxN8NwnrMraR5FZJVnwy2gMuP1AexEqRKlL05WPg+IBi/qaBM8ZzOOo6+MKnG9DBxUaAc\n\tC2CPGizZQryh53sxPi9QsBvrgmalDz6OmCcHoiPe/JinhU8YrfIqv90N7LWiRzmSg4lw0FU5UnE8z\n\tjON/Y8xrxwxQ5rgCG6alHFm0XUJAWEEl3pjifk8E8W1Q3H5lxV4XyzUEeX2y9lrw==;" ], "From": "Benjamin Berg <benjamin@sipsolutions.net>", "To": "hostap@lists.infradead.org", "Cc": "Benjamin Berg <benjamin.berg@intel.com>", "Subject": "[PATCH 2/2] AP: Do not store RSNXE for WPA 1", "Date": "Thu, 18 Dec 2025 17:19:34 +0100", "Message-ID": "<20251218161934.284933-3-benjamin@sipsolutions.net>", "X-Mailer": "git-send-email 2.51.1", "In-Reply-To": "<20251218161934.284933-1-benjamin@sipsolutions.net>", "References": "<20251218161934.284933-1-benjamin@sipsolutions.net>", "MIME-Version": "1.0", "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ", "X-CRM114-CacheID": "sfid-20251218_082148_758787_18B849F5 ", "X-CRM114-Status": "GOOD ( 11.32 )", "X-Spam-Score": "-2.1 (--)", "X-Spam-Report": "Spam detection software,\n running on the system \"bombadil.infradead.org\",\n has NOT identified this incoming email as spam. The original\n message has been attached to this so you can view it or label\n similar future email. If you have any questions, see\n the administrator of that system for details.\n Content preview: From: Benjamin Berg <benjamin.berg@intel.com> If the\n connection\n is using WPA 1, then the RSNXE will not be inclued in the KDE. So do not\n store it to not trigger a verification mismatch later because the RSNXE is\n not in the KDE as would be expecte [...]\n Content analysis details: (-2.1 points, 5.0 required)\n pts rule name description\n ---- ----------------------\n --------------------------------------------------\n -0.0 SPF_PASS SPF: sender matches SPF record\n -0.0 SPF_HELO_PASS SPF: HELO matches SPF record\n -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from\n envelope-from domain\n -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from\n author's\n domain\n -0.1 DKIM_VALID Message has at least one valid DKIM or DK\n signature\n 0.1 DKIM_SIGNED Message has a DKIM or DK signature,\n not necessarily valid\n -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%\n [score: 0.0000]", "X-BeenThere": "hostap@lists.infradead.org", "X-Mailman-Version": "2.1.34", "Precedence": "list", "List-Id": "<hostap.lists.infradead.org>", "List-Unsubscribe": "<http://lists.infradead.org/mailman/options/hostap>,\n <mailto:hostap-request@lists.infradead.org?subject=unsubscribe>", "List-Archive": "<http://lists.infradead.org/pipermail/hostap/>", "List-Post": "<mailto:hostap@lists.infradead.org>", "List-Help": "<mailto:hostap-request@lists.infradead.org?subject=help>", "List-Subscribe": "<http://lists.infradead.org/mailman/listinfo/hostap>,\n <mailto:hostap-request@lists.infradead.org?subject=subscribe>", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Sender": "\"Hostap\" <hostap-bounces@lists.infradead.org>", "Errors-To": "hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org" }, "content": "From: Benjamin Berg <benjamin.berg@intel.com>\n\nIf the connection is using WPA 1, then the RSNXE will not be inclued in\nthe KDE. So do not store it to not trigger a verification mismatch later\nbecause the RSNXE is not in the KDE as would be expected otherwise.\n\nSigned-off-by: Benjamin Berg <benjamin.berg@intel.com>\n---\n src/ap/wpa_auth_ie.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/src/ap/wpa_auth_ie.c b/src/ap/wpa_auth_ie.c\nindex 220ac809f3..7094cf2345 100644\n--- a/src/ap/wpa_auth_ie.c\n+++ b/src/ap/wpa_auth_ie.c\n@@ -1360,7 +1360,7 @@ wpa_validate_wpa_ie(struct wpa_authenticator *wpa_auth,\n \tos_memcpy(sm->wpa_ie, wpa_ie, wpa_ie_len);\n \tsm->wpa_ie_len = wpa_ie_len;\n \n-\tif (rsnxe && rsnxe_len) {\n+\tif (sm->wpa != WPA_VERSION_WPA && rsnxe && rsnxe_len) {\n \t\tif (!sm->rsnxe || sm->rsnxe_len < rsnxe_len) {\n \t\t\tos_free(sm->rsnxe);\n \t\t\tsm->rsnxe = os_malloc(rsnxe_len);\n", "prefixes": [ "2/2" ] }