From nobody Fri Nov 22 14:05:11 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 4Xvxgr0Wgfz5dwdg; Fri, 22 Nov 2024 14:05:12 +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 4Xvxgq6j4Fz4x6g; Fri, 22 Nov 2024 14:05:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732284311; 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=b3bBXueLzijA1KINZ6ZJFc76BmcsrttUXBn2SjLepJI=; b=vr0IN+xyrPE80yFctOee4qpub+Lwx2PDCER4Bf/NNMFcBF+tdq05WN9ZTBfO+IC8y6rD29 nQZTy/65Cv5GnjLHESDxb/cZw4WmFXoMqHhot3bOamBzzWeg1swk+gpfzHwaak/WMYK4NP Vju5ln27J1d9c7ko5pHdXPn+KSQ0fUp56hoWBw5tU1PkAcNGDqQ4XuJoNCe3E3HHXSs0i4 O/do+cXowNtVTEubI7GW93AoHWq9TOXbM6yGqrzGthHqcX9TVVQRpngy2240YJ+W6ZYlYA ixOonQEyrdXGhEAOtxJYmnP4A1PE9T95ZRWtEH1usTExxZIPYSiooTv8pTYZGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732284311; 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=b3bBXueLzijA1KINZ6ZJFc76BmcsrttUXBn2SjLepJI=; b=vJlwKrv9AXhanFyAMTFjvIxns7deXIJYbyD/bHiHqnxteb+XiZDL4prEWLrH532WqQ3PCe Cfy5UesR7+BTVUEsp5VIXZGwe+Q/rZLGzS8R8CLmSgZEoRp+w6iqp8cXGZErQYRHfj1tMr CKweVvv5oWRRe6KDGE/OCt1kCfrb3NSh4mmzlpNREmCi2acSg57SgWAzy7qX24jFt7HHP1 X8IrZScQxgORuJ9nNrvvevbtzettoV+KSPsugzXqhTocve2VdbWVta/7dKmucJaP1kJVjV D9S2Xo/uEEByz2hm5ZQVQmkDl3iRCMjLB5Tk5G2yFl2Xpk3eNSxg6BWyhPHcRQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1732284311; a=rsa-sha256; cv=none; b=f46SPU4huqnged0UZGWaYB4r5IBNvsZXsfFXmi5DBtIryelbcXU3fi7OB3o1y/xDneTx/E FmWmMMy3E0RoctmRasenip2RTmxTXDeCHfOrCdrvin8SsY63phzMgvJrrSHjV3lXXXoy3y DnqJpb91DbDWyUL3fP60HiXvJhDjZ3MyFQj40ZHFHmlobALEpbMs29Z9+XfTFrX85sqY51 wrJbSgmUrhZ3pOifzfSzmwXmESTovT8rKZrbxVOpPVGQ3ceL1oOScKQVgNNPvcJbXcGKOp T5SOhGPt902Pv+Dx5j+mlk4ELDAnS+OaS62wrWurTFbgzkvRtL1QnOLcHzlilQ== 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 4Xvxgq5RkhzRkP; Fri, 22 Nov 2024 14:05:11 +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 4AME5Brf065177; Fri, 22 Nov 2024 14:05:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4AME5Bgm065174; Fri, 22 Nov 2024 14:05:11 GMT (envelope-from git) Date: Fri, 22 Nov 2024 14:05:11 GMT Message-Id: <202411221405.4AME5Bgm065174@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: 0289db325953 - main - 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/main X-Git-Reftype: branch X-Git-Commit: 0289db3259532d51ebe58bc0b2647a0d9e6cae66 Auto-Submitted: auto-generated The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=0289db3259532d51ebe58bc0b2647a0d9e6cae66 commit 0289db3259532d51ebe58bc0b2647a0d9e6cae66 Author: Mark Johnston AuthorDate: 2024-11-22 13:52:57 +0000 Commit: Mark Johnston CommitDate: 2024-11-22 14:03:40 +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 --- 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 48fdab6a8475..e6a3d7d00a8f 100644 --- a/sys/netlink/route/iface.c +++ b/sys/netlink/route/iface.c @@ -1429,7 +1429,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);