Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2196521/?format=api
{ "id": 2196521, "url": "http://patchwork.ozlabs.org/api/patches/2196521/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netfilter-devel/patch/20260214145427.6341-1-phil@nwl.cc/", "project": { "id": 26, "url": "http://patchwork.ozlabs.org/api/projects/26/?format=api", "name": "Netfilter Development", "link_name": "netfilter-devel", "list_id": "netfilter-devel.vger.kernel.org", "list_email": "netfilter-devel@vger.kernel.org", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20260214145427.6341-1-phil@nwl.cc>", "list_archive_url": null, "date": "2026-02-14T14:54:06", "name": "[nf,v2] include: uapi: netfilter_bridge.h: Cover for musl libc", "commit_ref": null, "pull_url": null, "state": "under-review", "archived": false, "hash": "79b96e895ee2c24f83a50c54378400189727d341", "submitter": { "id": 4285, "url": "http://patchwork.ozlabs.org/api/people/4285/?format=api", "name": "Phil Sutter", "email": "phil@nwl.cc" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/netfilter-devel/patch/20260214145427.6341-1-phil@nwl.cc/mbox/", "series": [ { "id": 492177, "url": "http://patchwork.ozlabs.org/api/series/492177/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netfilter-devel/list/?series=492177", "date": "2026-02-14T14:54:06", "name": "[nf,v2] include: uapi: netfilter_bridge.h: Cover for musl libc", "version": 2, "mbox": "http://patchwork.ozlabs.org/series/492177/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2196521/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2196521/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "\n <netfilter-devel+bounces-10771-incoming=patchwork.ozlabs.org@vger.kernel.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "netfilter-devel@vger.kernel.org" ], "Delivered-To": "patchwork-incoming@legolas.ozlabs.org", "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=nwl.cc header.i=@nwl.cc header.a=rsa-sha256\n header.s=mail2022 header.b=RgsbmKTB;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=104.64.211.4; helo=sin.lore.kernel.org;\n envelope-from=netfilter-devel+bounces-10771-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)", "smtp.subspace.kernel.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key)\n header.d=nwl.cc header.i=@nwl.cc header.b=\"RgsbmKTB\"", "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=151.80.46.58", "smtp.subspace.kernel.org;\n dmarc=none (p=none dis=none) header.from=nwl.cc", "smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=nwl.cc", "mail.nwl.cc;\n\tiprev=pass (localhost) smtp.remote-ip=::1" ], "Received": [ "from sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4])\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 4fCsqB1yfRz1xr1\n\tfor <incoming@patchwork.ozlabs.org>; Sun, 15 Feb 2026 02:08:06 +1100 (AEDT)", "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sin.lore.kernel.org (Postfix) with ESMTP id 0E4F13006006\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 14 Feb 2026 15:08:03 +0000 (UTC)", "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 5F50827B343;\n\tSat, 14 Feb 2026 15:07:59 +0000 (UTC)", "from orbyte.nwl.cc (orbyte.nwl.cc [151.80.46.58])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id 0B2D71C695\n\tfor <netfilter-devel@vger.kernel.org>; Sat, 14 Feb 2026 15:07:55 +0000 (UTC)", "from localhost ([::1] helo=xic)\n\tby orbyte.nwl.cc with esmtp (Exim 4.98.2)\n\t(envelope-from <phil@nwl.cc>)\n\tid 1vrH2W-000000000P0-1KJC;\n\tSat, 14 Feb 2026 15:54:32 +0100" ], "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1771081678; cv=none;\n b=Z9p9/m4eirYl3e9wFh7CxlwGcNq25zTE/PDhdSqPncXX815gNnB2pufZjCKiR0pfdIYpTsEcuNqRsy7VOKoQAdOIMjiPNnom9NL49gpKfJPNTsL/XSEgIn6CVJu2Aw6wwiw0cNc6f1oRIRA1pUYyU7yl2wNalYpazesiq+HCUHE=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1771081678; c=relaxed/simple;\n\tbh=qjvhRLP0u2WL5eSecAtAkWDctpXK3Ur7iBUTBtcAw5I=;\n\th=From:To:Cc:Subject:Date:Message-ID:MIME-Version;\n b=ZcRKOOQwLhPpi8VI9A011xY2s+DgVQBVQ5l8VDzMR55rMVSRXKN2Pf+9fElnq2Xbm1p163npGcCDq300OYhmZZoWf0A3NaFq4qXNbbdGwHe73mkyysy3QfhDjKshb2NTcWvBOkRpG401I9sfjveRAGoiQ5HIaY0X4WtxVcwAm/M=", "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n dmarc=none (p=none dis=none) header.from=nwl.cc;\n spf=pass smtp.mailfrom=nwl.cc;\n dkim=pass (2048-bit key) header.d=nwl.cc header.i=@nwl.cc header.b=RgsbmKTB;\n arc=none smtp.client-ip=151.80.46.58", "DKIM-Signature": "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nwl.cc;\n\ts=mail2022; h=Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject:\n\tCc:To:From:Sender:Reply-To:Content-Type:Content-ID:Content-Description:\n\tResent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:\n\tIn-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:\n\tList-Post:List-Owner:List-Archive;\n\tbh=QvBXslcm4SU2m9mrC+oc+x4byiN+H1CtaOnGnICGVtU=; b=RgsbmKTBoeQE+keYSkXMEq4SQy\n\tqPQvB4K9QMYBWy7JTXl8pis+3ldV4R1XJsSSzeyGLG94IIjLsmDfn2op+vDKjK/SrEtcfynuUxHND\n\tMGw8aWjmXVtz6P91QyBMq4HZHCUH7te77l0IWfvmeD81UyVEydX+Gmat/4Nh95KGJAvloLYhd5SOu\n\tOJxGGwsI/1xqqXkSUlr2lxyg/Zvg5SawIlegE6rQ1ORufP3QeukDO7bXShXHkZgoLGU5b0m2LebsV\n\tZwNXClvkivbdAFtN6G19oBBv5E/z8YHuGOTOnvp4seQDBC4YcL/JNfrI4APcCcIhOItZtZF3qdZ/s\n\tPfxSArIw==;", "From": "Phil Sutter <phil@nwl.cc>", "To": "Pablo Neira Ayuso <pablo@netfilter.org>", "Cc": "netfilter-devel@vger.kernel.org,\n\tAlyssa Ross <hi@alyssa.is>,\n\tFlorian Westphal <fw@strlen.de>", "Subject": "[nf PATCH v2] include: uapi: netfilter_bridge.h: Cover for musl libc", "Date": "Sat, 14 Feb 2026 15:54:06 +0100", "Message-ID": "<20260214145427.6341-1-phil@nwl.cc>", "X-Mailer": "git-send-email 2.51.0", "Precedence": "bulk", "X-Mailing-List": "netfilter-devel@vger.kernel.org", "List-Id": "<netfilter-devel.vger.kernel.org>", "List-Subscribe": "<mailto:netfilter-devel+subscribe@vger.kernel.org>", "List-Unsubscribe": "<mailto:netfilter-devel+unsubscribe@vger.kernel.org>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit" }, "content": "Musl defines its own struct ethhdr and thus defines __UAPI_DEF_ETHHDR to\nzero. To avoid struct redefinition errors, user space is therefore\nsupposed to include netinet/if_ether.h before (or instead of)\nlinux/if_ether.h. To relieve them from this burden, include the libc\nheader here if not building for kernel space.\n\nReported-by: Alyssa Ross <hi@alyssa.is>\nSuggested-by: Florian Westphal <fw@strlen.de>\nSigned-off-by: Phil Sutter <phil@nwl.cc>\n---\nChanges since v1:\n- Adjust to previously applied 0b3877bec78b (\"netfilter: uapi: Use UAPI definition of INT_MAX and INT_MIN\")\n---\n include/uapi/linux/netfilter_bridge.h | 4 ++++\n 1 file changed, 4 insertions(+)", "diff": "diff --git a/include/uapi/linux/netfilter_bridge.h b/include/uapi/linux/netfilter_bridge.h\nindex f6e8d1e05c97..758de72b2764 100644\n--- a/include/uapi/linux/netfilter_bridge.h\n+++ b/include/uapi/linux/netfilter_bridge.h\n@@ -5,6 +5,10 @@\n /* bridge-specific defines for netfilter. \n */\n \n+#ifndef __KERNEL__\n+#include <netinet/if_ether.h>\t/* for __UAPI_DEF_ETHHDR if defined */\n+#endif\n+\n #include <linux/in.h>\n #include <linux/netfilter.h>\n #include <linux/if_ether.h>\n", "prefixes": [ "nf", "v2" ] }