From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B3D64242D7B for ; Tue, 7 Jul 2026 20:57:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783457880; cv=none; b=TjgdZRl5lrkA/8h+D3hpI0Qf6c3bbXP39jvNifBq6oTF1KN2ZXYNhirX9n3Wbwe5O+kfxX9aratSIHKYaZJeLqrnURoDhaskzR+3as4cdcxDdbIX2COzniQpZ2HpSKst3sKn3KMsxHEhW1ueXWa9BVCPsyIujBWvPZqWzssewdU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783457880; c=relaxed/simple; bh=C5/sQ3w/SK+PP6ggLKgDFI3ZgeNFoUnpC3t8Yt8qVI0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=bDM8jVy7zdp+yDexhR3CF939H9XvNYj90go/WcOAm8St6LSkNTb6fumisSBLeWX5oRaxCbB5jdnYs6EV+d/QbfFMVc4eqZM9inmRHDAaAYjMr6vJxAhmIkK3/Ff2pnj2epyo/0B7+JL2GMuWJVNfZmzJJZSXDD8jKu5M+ogdcZ8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=h87cm7vE; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="h87cm7vE" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1783457877; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Iyv0TMImYpAbpvWGi+/qFDUOvpd/PE3IcN/aYybEJxQ=; b=h87cm7vET/KSDjjzkiQhfEo277nXIU1lg6H6TQABDmuywg0tBHNufK7Vtyu0TO9o245ogh I6kiGoc4bbKixppSr1DFIf4dwfzkhJNzvUuSyvJZP3mVRYYwWPqD892k9Y7mnbE/Xbz2oT qAnot4tMV24dvFH8qNzvK3v7NPpwg98= Received: from mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-266-rlNXMX4UP3CUIH_InNdB0w-1; Tue, 07 Jul 2026 16:57:54 -0400 X-MC-Unique: rlNXMX4UP3CUIH_InNdB0w-1 X-Mimecast-MFC-AGG-ID: rlNXMX4UP3CUIH_InNdB0w_1783457873 Received: from mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.111]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id A8BD51806CA0; Tue, 7 Jul 2026 20:57:53 +0000 (UTC) Received: from smayhew-thinkpadp1gen4i.remote.csb (unknown [10.22.80.127]) by mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 72FEE180075B; Tue, 7 Jul 2026 20:57:53 +0000 (UTC) Received: from smayhew-thinkpadp1gen4i.remote.csb (localhost [IPv6:::1]) by smayhew-thinkpadp1gen4i.remote.csb (Postfix) with ESMTP id E57E74D4C114; Tue, 07 Jul 2026 16:57:52 -0400 (EDT) From: Scott Mayhew To: steved@redhat.com Cc: jlayton@kernel.org, linux-nfs@vger.kernel.org Subject: [nfs-utils PATCH 1/3] configure: update check of system netlink headers Date: Tue, 7 Jul 2026 16:57:50 -0400 Message-ID: <20260707205752.313031-2-smayhew@redhat.com> In-Reply-To: <20260707205752.313031-1-smayhew@redhat.com> References: <20260707205752.313031-1-smayhew@redhat.com> Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.111 Commit e1401387 ("nfsstat: add netlink support for fetching server statistics") added new symbols to support/include/nfsd_netlink.h that have not yet been added to the kernel headers. Update the check that defines USE_SYSTEM_NFSD_NETLINK_H - otherwise nfsstat will fail to compile. Signed-off-by: Scott Mayhew --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 8ca06fd6..4ca7666d 100644 --- a/configure.ac +++ b/configure.ac @@ -259,9 +259,9 @@ AC_CHECK_HEADERS(linux/nfsd_netlink.h) AC_DEFINE([HAVE_NFSD_NETLINK], 1, [Define to 1 if nfsd generic netlink support is available]) -# ensure we have the expkey attributes +# ensure the system netlink headers have the latest features AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], - [[int foo = NFSD_A_EXPKEY_SEQNO;]])], + [[int foo = NFSD_CMD_SERVER_STATS_GET;]])], [AC_DEFINE([USE_SYSTEM_NFSD_NETLINK_H], 1, ["Use system's linux/nfsd_netlink.h"])]) AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], -- 2.55.0