From nobody Mon Jul 13 12:26:35 2026 X-Original-To: dev-commits-src-main@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 4gzMB40VV3z6l8dW for ; Mon, 13 Jul 2026 12:26:36 +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 4gzMB34t6jz3SQN for ; Mon, 13 Jul 2026 12:26:35 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1783945595; 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=JRa5u9VCixqNC8hI5jESdVb+3H37bXacgzky26YbeQo=; b=l10WZgEWhHEYrvU3DU6j8sE62sXWg1s5Oi2Q+ua12PGfPmgPGrhHFy+7wuYnZY2ikYURAV XfgO/Bqes+YLLxrHjZeoPtJmknQYW1dhT5SZhqRSNYMuFFK3gAghF4SPmD/nyV88P4lsGI 9xTwSAJg4EOj7SuQml5ovDirIsyeJUmXkhs/5bOzzFnErgdYbL0EzkL95iq/XYdd6milT3 eDxkOflpCzYo6Y2XSC9ND+Nai1/tNeFS+THikbgPClagJK9+EW2/Gc/ezvaIFPVX8Nkvj+ 1ZelmP4fR0unNFhLgRteHZeEWiPwNMtNytRcF9fo/i2m/cDWUwMsw4zz/DfCzA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1783945595; a=rsa-sha256; cv=none; b=DF0VimFZwa+6CjipxVljxEctTHCjv7F0yXU+K5828qscceTntjeZWH1eGGWLlAUF2zwzty p1mJbTX3YVbD3ACY1eyKPNm7vEwBe3J7ezJ6NPqk23+/ZTBRcURWWTXOhTmPSPaocZT9Y2 5Uo1wztC6Rq6lL1iXGouagwV6tGRIjLJoxxn3X6lKjUpMFVnFgEZC0cxJWrH6mH792DHFW S6vDhL8l9nyxYo5ZNykUIX0HVq/1ivwWh7yyXAuuSAmjHlgCZExWy8N8U0ez8UKwwaYqFV C336mc2mAwAlXVGPr8bo+dwqiJu9KDmWD7F6sAU92kM0rSNk61syT4rgjbCRQg== 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=1783945595; 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=JRa5u9VCixqNC8hI5jESdVb+3H37bXacgzky26YbeQo=; b=WV7kWQRR5LC3OthlrY4ZMOTLOjSFUsmaZ4Yfpjk+0KvZh2uvLokbdubM9Rys5jaeTKWFiT cqRFw6uPqO1eOPEz2hUwC8Gor05JsOxpEETxgZlPjwRy+UDI7/l021X3cKjUIvBe6OUqeo DSShwZaOv/snGATn1Zz6aJv2bSHyAWBDA1Db9xY3ENFuzmTa27FC9pWevXoCXRxOWUoKj1 VDE5JGlgqvXszHFdOcWFhiUw+LNcVti09Fw7hyM/TXZ5OD/c8/vmRL0RM2DYW/+67a9/vW lWAWU54oqDKppzaIk6zcynH8lx7ReoZhHyo83+B0Pray9AfbdILD4xno5IOnIQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4gzMB33GpZzyHj for ; Mon, 13 Jul 2026 12:26:35 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 25485 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Mon, 13 Jul 2026 12:26:35 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Cc: Giuseppe Lettieri From: Jose Luis Duran Subject: git: 141b66452049 - main - libnetmap: fix extra indirection in nmreq_remove_option List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: 141b6645204966a0e1ae10dd059c670e2a58e6e1 Auto-Submitted: auto-generated Date: Mon, 13 Jul 2026 12:26:35 +0000 Message-Id: <6a54d97b.25485.589bfddb@gitrepo.freebsd.org> The branch main has been updated by jlduran: URL: https://cgit.FreeBSD.org/src/commit/?id=141b6645204966a0e1ae10dd059c670e2a58e6e1 commit 141b6645204966a0e1ae10dd059c670e2a58e6e1 Author: Giuseppe Lettieri AuthorDate: 2026-07-13 12:24:16 +0000 Commit: Jose Luis Duran CommitDate: 2026-07-13 12:24:16 +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 --- 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; }