Article View: linux.kernel.netdev
Article #732Re: [PATCH] selftests/net: test generic-netlink policy dump operation ID
From: Jakub Kicinski
Date: Thu, 08 Oct 2026 15:22
Date: Thu, 08 Oct 2026 15:22
16 lines
6015 bytes
6015 bytes
On Thu, 8 Oct 2026 14:24:34 +0530 Sahaj Chaudhari wrote: > Check that a generic-netlink policy dump reports the requested command's > operation ID rather than zero. > > Request the policy for CTRL_CMD_GETPOLICY from the control family and > verify that the response contains operation ID 10. Register the test as > a generated net selftest and ignore its built binary. > > Tested: reproduces the missing operation ID on 7.0.0-34-generic and > passes on fixed 7.3.0-rc6-00063-g0c2669a9f4a1 in QEMU. Why are you sending this? commit a87529034b9c already covers it -- pw-bot: reject pv-bot: slop
Technical Details
Message-ID:
<20261008082206.23a5125f@kernel.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-343063-linux-kernel-netdev=dewy.ruReferences:
<20261008085434.3681647-1-sahaj123.sc@gmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-343063-linux-kernel-netdev=dewy.ru From: kuba@kernel.org (Jakub Kicinski) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH] selftests/net: test generic-netlink policy dump operation ID Date: Thu, 8 Oct 2026 08:22:07 -0700 Organization: Usenet Network Message-ID: <20261008082206.23a5125f@kernel.org> References: <20261008085434.3681647-1-sahaj123.sc@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Info: usenet.network; logging-data="908141"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:jYlFKC6b/wPTjgzD1p4lQJDZibQ= sha256:It+fbdoaH4ynmiOmlfwv4ZCiMZ5L7EJPQIBaeSFcGnI= sha1:s6+gdoiHFNtAjQsl9NPetfXVaYY= sha256:adLwITgBAknQ/KYX5wTT40Bj71uVRajoWRYH4Y1ljuw= List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id A155A10F439; Thu, 8 Oct 2026 18:27:09 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.641 X-Spam-Status: No, score=-3.641 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.241, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=kernel.org X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DEYsbMv6HmPa; Thu, 8 Oct 2026 18:27:02 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-343063-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id 4557410F438; Thu, 8 Oct 2026 18:26:58 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sea.lore.kernel.org (Postfix) with ESMTP id 6FB613D0F9; Thu, 8 Oct 2026 15:22:27 +0000 (UTC) X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9A6AB4DA9CB; Thu, 8 Oct 2026 15:22:10 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="gjg061Iu" X-Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 58C144C6EEE; Thu, 8 Oct 2026 15:22:08 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791472930; cv=none; b=K8OZcgiKZL5uAqXZa53wB+RmKZW7EoZo61R6F47/1D4c18ecVJ9T/cQMtGBg8+AiCkZCPnT8xr5I5mcPS6y9RqJwIKhN2HJSS1WC30OZWEpux79hEdBiXlSBd1ap1s+PItnMlkqWswqP/zASKcaLdqLhMRyn9XZG9sjcfCFpBrU= X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791472930; c=relaxed/simple; bh=I0mGzNDGBBH/5ToiLufW7e8PiS2Spvs+3WctJmnuqgU=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=KoXDrl59E3ZJB5FJVv8fDLMvguQP/IXJ9TWFfyI3gbnrB6KrUgXvnK1/2fYtOJtn/uYkM8V3oxK2trQZjt/3Xq34J4Eg2DFwbomRZdLKm5wcaQI89fGySNCE7yeQONtwCDlYq3scGPWJizUu4JkRi2WdROSrVaFT1O5JAJ4i5Qg= X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=gjg061Iu; arc=none smtp.client-ip=100.103.45.18 X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id AD6341F000FF; Thu, 8 Oct 2026 15:22:07 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1791472928; bh=SATqFQzM7nW5mYhaVPL8jIh7UGmfBkpGUp+jcNmvFjY=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=gjg061IuqXC0GHQXd/ibD8dfShsXbmXgqoGw801qHEWW1vE3CwDG/ki4/kdk0LMYl 2yVKohEIY3eNL9ipMAj9LuFViPYUUmw5rfvQa0GLhwro4vy5ASndCeNBdWU+aC2PM5 z6n0hHgyVKtDVgPT7nxfMbsSUdO2wDhfS4rYzqN0X3J7Ew4Yvv1/0GgPjqte5QTCXx KoWcflh06gHGeKrUV7JykMsy5LaS3vSPeSaSFlSqogWqxcyPHNeMkuGLMX2IhvF8b8 h6qZuBPC4SzF0mGcZwlk97BcgkutWEfPz89hBC7VwbbjyEogh2qnkQgd4MWtonBXJY jTwsYP09p4AaA== X-Cc: "David S . Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Simon Horman <horms@kernel.org>, Shuah Khan <shuah@kernel.org>, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-kselftest@vger.kernel.org X-In-Reply-To: <20261008085434.3681647-1-sahaj123.sc@gmail.com> X-Precedence: bulk X-Mailing-List: netdev@vger.kernel.org X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>