From nobody Thu Nov 28 14:47:08 2024 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 4XzfKS5zVJz5dpYy; Thu, 28 Nov 2024 14:47:08 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XzfKS5NFgz49WQ; Thu, 28 Nov 2024 14:47:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732805228; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Iz1N6NkUX5uT5uxZt3xAfaKYTPSHA49FMZyjW8Jz8H0=; b=CjyNL4tLJGNx9xzyqNIebNKo9pRyaccibBiyJIwAvbuKodPbhGliSV3NCz67aofu26aZBO heAMXRLySWbYwWtMVSHxjnO/PtLptLHJro7vgvV+oHh4YtWzLlJ0jLVKiXloIA3n0DYjw7 M8QMIt/DSiupQbUSoFkH32iyec/NHoAdN6ictm/1L2GB8pBMuSf4n1dDTLU8Ggy8dNBTgC vzYsi/DsU/rRU5bjFvNRyMEPuPvSuNAPGBTeLvN5uZnUqtuJfplx2J+iT4T0SukKy+AGCG mQE4mRhrjyt7QEqCPEGbYvzAFvZKRkoqYSXyQzShYnAZwwtEatCZBIlfpDZOAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732805228; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Iz1N6NkUX5uT5uxZt3xAfaKYTPSHA49FMZyjW8Jz8H0=; b=VbpnMWRuKRjsjaX8tAB2rtTUzz3ufSkuvQho+Q4j+QBRjrnG2+RHqWN/nv5t52GEm7Ep57 4BPQnNYQMzNAI8IH5lohVxMbKIOriaieiRaN7Jt5IlXRJqsIF/SHTGOIfGcGnvE5hcI/fm 7dszeGj9SD8jncUD3QLG/T3HEKPPuxYsBdIBYEqcZAruQrT28478Byma4DiBHZUIIgMoxc D0phgpEQ2hHTY7Dh1itgmkebMsj9YX6S50o8dyDOIQoRyJBm/edNj3wdWbA1iHOn/gu89Z xbe1jztiOntZzpMZ1tdSCV5OZIqQSe+RZXr0EhWLQFEkWdGOEe84GVBAz7kGmg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1732805228; a=rsa-sha256; cv=none; b=TY9dZ2NNoB9eIVE7k4U/MX0oRPaOKNvwMgu4JKxdfqNAEBICFjQVCyBlnYTqR5Md/5dusC HjlAL273gBYJdTFXHaJ5K3Xmhvv6jkkRRiYl9ta9G+iW8QHs1MASkvziCa21awJeFZhPn8 9rYt9NDHUUElQiluuvNwVY6b4eyiy3skiqE5YA4Jkg6pcWsouNEe8d/sb+THKCo+6mw0q0 gGotKfMvEJKXqF7GkIwnZFEJ8i0prx/fqV0D4HdX3DW4Lx4saYMF6hFTPidNc3dE7QhYmV k6p5YZ5IoFMUVEHSOa9UNwjzhP1dxbSrAuywkyIKc4DRUPIH9AbznCbLJOQCdQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XzfKS4c7nzjxB; Thu, 28 Nov 2024 14:47:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4ASEl8A1054026; Thu, 28 Nov 2024 14:47:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4ASEl8Pe054023; Thu, 28 Nov 2024 14:47:08 GMT (envelope-from git) Date: Thu, 28 Nov 2024 14:47:08 GMT Message-Id: <202411281447.4ASEl8Pe054023@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mark Johnston Subject: git: a2f54460e39a - stable/14 - netlink/route: Fix the argument list for rtnl_handle_iflink() 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 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: a2f54460e39a915a72df095a3de52a844335024b Auto-Submitted: auto-generated The branch stable/14 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=a2f54460e39a915a72df095a3de52a844335024b commit a2f54460e39a915a72df095a3de52a844335024b Author: Mark Johnston AuthorDate: 2024-11-22 13:52:57 +0000 Commit: Mark Johnston CommitDate: 2024-11-28 14:41:52 +0000 netlink/route: Fix the argument list for rtnl_handle_iflink() This function is registered as a ifnet_link_event and so should have the corresponding argument list. PR: 282870 Reported by: nakayamakenjiro@gmail.com MFC after: 1 week (cherry picked from commit 0289db3259532d51ebe58bc0b2647a0d9e6cae66) --- sys/netlink/route/iface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netlink/route/iface.c b/sys/netlink/route/iface.c index 0587b478431e..fe6d6bf18c90 100644 --- a/sys/netlink/route/iface.c +++ b/sys/netlink/route/iface.c @@ -1427,7 +1427,7 @@ rtnl_handle_ifdetach(void *arg, if_t ifp) } static void -rtnl_handle_iflink(void *arg, if_t ifp) +rtnl_handle_iflink(void *arg, if_t ifp, int link_state __unused) { NL_LOG(LOG_DEBUG2, "ifnet %s", if_name(ifp)); rtnl_handle_ifevent(ifp, NL_RTM_NEWLINK, 0);