From nobody Mon Jul 27 03:45:20 2026 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4h7ky86LLMz6mSK9 for ; Mon, 27 Jul 2026 03:45:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "YR1" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4h7ky835tWz3h3B for ; Mon, 27 Jul 2026 03:45:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1785123920; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=k4FFwpRmagGd3Skj/gN4ffMEQtXXjKaOVgaTropIOCM=; b=CHaYOpdI+KlBNkkXN9ONxjZgcOD/snT+UY0uHBY9925owkNMn1AqmRPAXWo/feu63UPgOm /DmsBuYRe9QJmjkDDWcuI+vbBal/gxsUo6+c9UKD1nS3cWfixzgojMChiaDdvsF3+lYkU/ 8pZpHmLhq9Uzpj/eRZnBrDI+fyS7aom2q/Vlzd61FSuABt+88/+jrfNgueQSNqEn8yrZ3h VXbLAMykDQWjEStMpZjeFFIBdTMNH9p9fa/9Rzn2ncaLq77PTNiqpGUuIar8+/hWXRLBTo ycX/JoFiObtzqm8bSSg1yRE3Gn+/4yCbH7U5oi1e9PFrFs4negwgiaTIEveKHQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1785123920; a=rsa-sha256; cv=none; b=h3qZNJRtVVf/bbpurUBjniXr6OEAjgiNYOVEF/tONMU9ZcKNtsqt2uGfFgGxMjOKacklob WUbyiHusTPVmSuNd5j4YfFtdqe1kt6EVl8oH/HOSFSrPaUfYPoXIIoCVAKaumG7bNs1jjU dKbH8qBr+4DRuiCIvb9jRv0doga59NMX4t4aB1igqzi1GXiKrzzTvV+3V2DAV3zc0kwC7J rS0FtBQSZ0wflh/WCPnXUtAAQiJd0QalKS8brNq21jiVNdmIpdzJjIQDq6Ne8xFfV6Xw0Q 3ifYS7nkFt1fAZyF4a0tLts+qttStvgt/OTixGrl00fT0JaHNph9FUnZCMR5cQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1785123920; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=k4FFwpRmagGd3Skj/gN4ffMEQtXXjKaOVgaTropIOCM=; b=OKwfoByG3Zs2ee7Jutvzj+HYeA0teaP24JDhNdPMPdJ/Y6FSiD+Asgj3T/TDM53JB+ALU+ qrQtX+VNsXRtqNyW2gSjTlxtSOo5j/rQflmMb4vr6z6KsvFeAiGPtElh6h1f8dL4E3a5fg JQX91igeIzihyD0VJO3Ycav7mO1HnOEWex9rIlcwIrEXru7YEppPaoFKa2+d2hytaaTJR1 +m/hjw2oKOpROVbHpO6hrMdYZe1h0854uO+E1tPF48OlaRqSyrZufqbLEF8P39Fe/uPkbH yCvjrE99OjjNxVJxNvuvPqhsARmX5/ynyKpfdFf+0PUMylPwtt1qipxmQlLetA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4h7ky81Gfdzs28 for ; Mon, 27 Jul 2026 03:45:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 1c576 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Mon, 27 Jul 2026 03:45:20 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Cc: Giuseppe Lettieri From: Jose Luis Duran Subject: git: 28c3d544db28 - stable/14 - libnetmap: fix extra indirection in nmreq_remove_option List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jlduran X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 28c3d544db285c1c198661e6d932cf76c9d68102 Auto-Submitted: auto-generated Date: Mon, 27 Jul 2026 03:45:20 +0000 Message-Id: <6a66d450.1c576.54e2180c@gitrepo.freebsd.org> The branch stable/14 has been updated by jlduran: URL: https://cgit.FreeBSD.org/src/commit/?id=28c3d544db285c1c198661e6d932cf76c9d68102 commit 28c3d544db285c1c198661e6d932cf76c9d68102 Author: Giuseppe Lettieri AuthorDate: 2026-07-13 12:24:16 +0000 Commit: Jose Luis Duran CommitDate: 2026-07-27 03:42:26 +0000 libnetmap: fix extra indirection in nmreq_remove_option Reviewed by: zlei, vmaffione Obtained from: https://github.com/luigirizzo/netmap/commit/7d9177ed9a121e66bf4eaa0acb5d574e408297da MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D58151 (cherry picked from commit 141b6645204966a0e1ae10dd059c670e2a58e6e1) --- lib/libnetmap/nmreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libnetmap/nmreq.c b/lib/libnetmap/nmreq.c index 2477337d8791..a083099f0a12 100644 --- a/lib/libnetmap/nmreq.c +++ b/lib/libnetmap/nmreq.c @@ -615,7 +615,7 @@ nmreq_remove_option(struct nmreq_header *h, struct nmreq_option *o) for (nmo = (struct nmreq_option **)&h->nr_options; *nmo != NULL; nmo = (struct nmreq_option **)&(*nmo)->nro_next) { if (*nmo == o) { - *((uint64_t *)(*nmo)) = o->nro_next; + *((uint64_t *)nmo) = o->nro_next; o->nro_next = (uint64_t)(uintptr_t)NULL; break; }